Group fields together in a list.
The FieldGroup component provides the following functionality:
Triggers form validation. Will raise any errors unless opts.silent
is set to true.
Clears form errors associated with a specific path. If no path is provided, clears all form errors.
Retrieves form errors associated with a specific path. If no path is provided, returns all form errors.
Sets form errors for a given path. If no path is provided, overrides all errors.
A reference to the array containing validation errors. Use this to access or manipulate the error information.
{
wrapper: 'mt-5 space-y-5 divide-y divide-gray-200 dark:divide-gray-800 [&>div]:pt-5 [&>div:first-child]:pt-0 [&>div:first-child]:mt-0'
}