Skip to content

Interface: FieldBindingAttributes ​

Defined in: react/src/use-field.ts:11

Attributes to spread on an input: the field's attributes with undefined for absent ones, and a blur handler.

Properties ​

PropertyModifierTypeDefined in
aria-describedbyreadonlystring | undefinedreact/src/use-field.ts:15
aria-invalidreadonly"true" | "false"react/src/use-field.ts:14
aria-requiredreadonly"true" | undefinedreact/src/use-field.ts:16
idreadonlystringreact/src/use-field.ts:12
namereadonlystringreact/src/use-field.ts:13
onBlurreadonly() => voidreact/src/use-field.ts:17

Released under the MIT License.