A single form field. The value passed by the user to this field will be reflected in the values object in the form's onSubmit.
values
onSubmit
The default inputs available are: TextInput, PasswordInput and SwitchInput. Otherwise you can implement your own, but make sure they support all of the FormFieldInputProps.
<FormField as={TextInput} id="username" label="Email" defaultValue="test@example.com" autocomplete={{ type: FormInputAutocompleteTypes.USERNAME }} schema={{ email: true }} required/>
Options for this field.
Generated using TypeDoc
A single form field. The value passed by the user to this field will be reflected in the
values
object in the form'sonSubmit
.The default inputs available are: TextInput, PasswordInput and SwitchInput. Otherwise you can implement your own, but make sure they support all of the FormFieldInputProps.
Example