FormInputcomponent

FormInput({ name, ...props }: FormInputProps): ReactElement
ParamType
propsFormInputProps
Props for FormInput, a bare SchemaInput bound to a named form field. required
Return
ReactElement
A SchemaInput bound to the named field.

Show a SchemaInput for a single named property of the current form.

  • Reads the field's value, schema, and message from the form context via useField().

Examples

<FormInput name="email" />