File tree 2 files changed +3
-3
lines changed
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -351,7 +351,7 @@ export interface FieldListeners<
351
351
onChange ?: FieldListenerFn < TParentData , TName , TData >
352
352
onChangeDebounceMs ?: number
353
353
onBlur ?: FieldListenerFn < TParentData , TName , TData >
354
- onBlurAsyncDebounceMs ?: number
354
+ onBlurDebounceMs ?: number
355
355
onMount ?: FieldListenerFn < TParentData , TName , TData >
356
356
onSubmit ?: FieldListenerFn < TParentData , TName , TData >
357
357
}
@@ -1653,7 +1653,7 @@ export class FieldApi<
1653
1653
* Handles the blur event with debounce support.
1654
1654
*/
1655
1655
handleBlur = ( ) => {
1656
- const debounceMs = this . options . listeners ?. onBlurAsyncDebounceMs || 0
1656
+ const debounceMs = this . options . listeners ?. onBlurDebounceMs || 0
1657
1657
1658
1658
if ( this . debounceTimeouts . onBlur ) {
1659
1659
clearTimeout ( this . debounceTimeouts . onBlur )
Original file line number Diff line number Diff line change @@ -1941,7 +1941,7 @@ describe('field api', () => {
1941
1941
name : 'name' ,
1942
1942
listeners : {
1943
1943
onBlur : onBlurMock ,
1944
- onBlurAsyncDebounceMs : 300 ,
1944
+ onBlurDebounceMs : 300 ,
1945
1945
} ,
1946
1946
} )
1947
1947
You can’t perform that action at this time.
0 commit comments