This component is returned by useForm().

Props

label : string

The label of the input field.

name : string

The path to the number value of the input field in your form schema.

e.g. "age", "shipping.cost"

placeholder? : string

An optional placeholder text for your input.

disabled? : boolean

Whether or not the field should be disabled.

Defaults to false (not disabled).