form icon indicating copy to clipboard operation
form copied to clipboard

Create option to set the default validate trigger

Open allimuu opened this issue 7 years ago • 1 comments

If you want something other than onChange for the default validate trigger, it was a bit of a pain setting the validateTrigger on all the fields or overriding getFieldProps/getFieldDecorator. Now as an option to createForm we can set a different default validate trigger.

allimuu avatar Feb 18 '19 07:02 allimuu

Hey @benjycui @afc163 is there any chance of taking a look at this soon? We'd really like to stay in sync with upstream of this and Antd. But it's a feature we need and overriding getFieldDecorator to do this everywhere is.. unappealing. Thanks!

allimuu avatar Feb 20 '19 00:02 allimuu