• 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.

    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

    <FormField
    as={TextInput}
    id="username"
    label="Email"
    defaultValue="test@example.com"
    autocomplete={{
    type: FormInputAutocompleteTypes.USERNAME
    }}
    schema={{ email: true }}
    required
    />

    Type Parameters

    Parameters

    Returns Element

Generated using TypeDoc