ant-design/components/form/demo/validate-trigger.md
二货爱吃白萝卜 ee8cf22aa6
feat: Form validation support validateDebounce (#44633)
* chore: bump rc-field-form

* docs: add debounce demo

* docs: update demo

* test: update snapshot

* docs: typo
2023-09-05 19:52:06 +08:00

527 B

zh-CN

对于有异步校验的场景,过于频繁的校验会导致后端压力。可以通过 validateTrigger 改变校验时机,或者 validateDebounce 改变校验频率,或者 validateFirst 设置校验短路。

en-US

For the async validation scenario, too frequent verification will cause backend pressure. You can change the verification timing through validateTrigger, or change the verification frequency through validateDebounce, or set the verification short circuit through validateFirst.