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 = ({
2020 isValid : ReactNode | string
2121 isValidating : ReactNode | string
2222 isLoading : ReactNode | string
23+ validatingFields : ReactNode | string
2324 }
2425 }
2526 columnIndent ?: boolean
@@ -188,6 +189,20 @@ export const FormStateApi = ({
188189 </ td >
189190 < td > { ( api || API ) . formState . isValidating } </ td >
190191 </ 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 >
191206 < tr >
192207 { columnIndent && (
193208 < td >
Original file line number Diff line number Diff line change @@ -787,6 +787,11 @@ setValue('test', '')
787787 Set to < code > true</ code > during validation.
788788 </ >
789789 ) ,
790+ validatingFields : (
791+ < >
792+ Capture fields which are getting async validation.
793+ </ >
794+ ) ,
790795 } ,
791796 errors : {
792797 title : "errors" ,
You can’t perform that action at this time.
0 commit comments