Skip to main content

FormFieldWrapper

This is a wrapper that can be used in all forms to wrap the actual form control, and provide a label, description and error message.

Use this instead of the default Shadcn FormField (etc.) components, as it also supports overridden form components.

Example

Tsx

If you are dealing with translatable fields, use the TranslatableFormFieldWrapper component instead.

Signature

Parameters

props

parameterFormFieldWrapperProps<TFieldValues, TName>

The props for the FormFieldWrapper component.

Signature
Was this chapter helpful?
Report Issue
Edited Feb 10, 2026ยทEdit this page