Display messages under fields.
Props
Name
Description
Type
Default
errorIcon
Icon to diplay next to errors. (if
showIcons
or high contrast)
[namespace: stringor
symbol, name: string]or
string
[ICON_NAMESPACE, error]
infoIcon
Icon to diplay next to infos. (if
showIcons
or high contrast)
[namespace: stringor
symbol, name: string]or
string
[ICON_NAMESPACE, info]
messages
The messages to display.
undefinedor
{ error?: ValidationMessage[]or
undefined; warning?: ValidationMessage[]or
undefined; info?: ValidationMessage[]or
undefined; children?: Record<number, Record<Severity, ValidationMessage[]>>or
undefined; }
showIcons
Display icons alongside messages.
boolean
false
warningIcon
Icon to diplay next to warnings. (if
showIcons
or high contrast)
[namespace: stringor
symbol, name: string]or
string
[ICON_NAMESPACE, warning]