Function: configureZodI18n()
configureZodI18n(
__namedParameters):void
Defined in: packages/forms/src/zod/i18n.ts:128
Configures Zod's global error messages for locale. Form calls it
through useZodI18n; call it yourself outside a Form.
Parameters
| Parameter | Type |
|---|---|
__namedParameters | { formatMessage: FormatMessage; locale: string; } |
__namedParameters.formatMessage | FormatMessage |
__namedParameters.locale | string |
Returns
void