pointer to a field containing type information and more. Obtained from FormSchema.
Optional
controller: FormControllerobtained by using useFormController
hook, used to connect to form state.
Injected automatically via React Context when used inside FormProvider
component.
FormHandle
object used to interact with the field
const Schema = new FormSchemaBuilder()...;
const MyForm: React.FC = () => {
const controller = useFormController({ Schema })
const username = useField(Schema.username, controller)
...
}
Generated using TypeDoc
Hook used to gain access to field-specific state and methods Causes the component to subscribe to all changes of the field's state.