Hook to access the current form's context.
The form context containing the schema and form ID.
function MyInput() { const { formId, schema } = useFormContext(); // ...} Copy
function MyInput() { const { formId, schema } = useFormContext(); // ...}
Hook to access the current form's context.