We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 58378b8 + fc554b9 commit 2cb9e33Copy full SHA for 2cb9e33
src/types.ts
@@ -33,7 +33,10 @@ export type Props<
33
{
34
as?: TAs;
35
errors?: TFieldErrors;
36
- name: FieldName<FieldValuesFromFieldErrors<TFieldErrors>>;
+ name:
37
+ | FieldName<FieldValuesFromFieldErrors<TFieldErrors>>
38
+ | `root.${string}`
39
+ | 'root';
40
message?: Message;
41
render?: (data: {
42
message: Message;
0 commit comments