File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,7 @@ export const FormStateApi = ({
20
20
isValid : ReactNode | string
21
21
isValidating : ReactNode | string
22
22
isLoading : ReactNode | string
23
+ validatingFields : ReactNode | string
23
24
}
24
25
}
25
26
columnIndent ?: boolean
@@ -188,6 +189,20 @@ export const FormStateApi = ({
188
189
</ td >
189
190
< td > { ( api || API ) . formState . isValidating } </ td >
190
191
</ tr >
192
+ < tr >
193
+ { columnIndent && (
194
+ < td >
195
+ < code > formState</ code >
196
+ </ td >
197
+ ) }
198
+ < td >
199
+ < code > validatingFields</ code >
200
+ </ td >
201
+ < td >
202
+ < code className = { typographyStyles . typeText } > boolean</ code >
203
+ </ td >
204
+ < td > { ( api || API ) . formState . validatingFields } </ td >
205
+ </ tr >
191
206
< tr >
192
207
{ columnIndent && (
193
208
< td >
Original file line number Diff line number Diff line change @@ -787,6 +787,11 @@ setValue('test', '')
787
787
Set to < code > true</ code > during validation.
788
788
</ >
789
789
) ,
790
+ validatingFields : (
791
+ < >
792
+ Capture fields which are getting async validation.
793
+ </ >
794
+ ) ,
790
795
} ,
791
796
errors : {
792
797
title : "errors" ,
You can’t perform that action at this time.
0 commit comments