You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| match |`boolean \| 'valid' \| 'badInput' \| 'customError' \| 'patternMismatch' \| 'rangeOverflow' \| 'rangeUnderflow' \| 'stepMismatch' \| 'tooLong' \| 'tooShort' \| 'typeMismatch' \| 'valueMissing'`| - | Determines whether to show the error message according to the field's
[ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState).
Specifying `true` will always show the error message, and lets external libraries
control the visibility. |
307
-
| className |`string \| ((state: Field.Error.State) => string \| undefined)`| - | CSS class applied to the element, or a function that
returns a class based on the component's state. |
308
-
| style |`React.CSSProperties \| ((state: Field.Error.State) => React.CSSProperties \| undefined)`| - | Style applied to the element, or a function that
returns a style object based on the component's state. |
309
-
| render |`ReactElement \| ((props: HTMLProps, state: Field.Error.State) => ReactElement)`| - | Allows you to replace the component's HTML element
with a different tag, or compose it with another component. Accepts a `ReactElement` or a function that returns the element to render. |
| match |`boolean \| unknown`| - | Determines whether to show the error message according to the field's
[ValidityState](https://developer.mozilla.org/en-US/docs/Web/API/ValidityState).
Specifying `true` will always show the error message, and lets external libraries
control the visibility. |
307
+
| className |`string \| ((state: Field.Error.State) => string \| undefined)`| - | CSS class applied to the element, or a function that
returns a class based on the component's state. |
308
+
| style |`React.CSSProperties \| ((state: Field.Error.State) => React.CSSProperties \| undefined)`| - | Style applied to the element, or a function that
returns a style object based on the component's state. |
309
+
| render |`ReactElement \| ((props: HTMLProps, state: Field.Error.State) => ReactElement)`| - | Allows you to replace the component's HTML element
with a different tag, or compose it with another component. Accepts a `ReactElement` or a function that returns the element to render. |
0 commit comments