form
form copied to clipboard
Create option to set the default validate trigger
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.
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!