Open sl5310 opened 6 years ago
How to set error on nested value like:vendor.name I have tried to
vendor.name
this.props.form.setFields({vendor: {name: {errors: [new Error('forbid ha')] }}}); and this.props.form.setFields({vendor.name: { errors: [new Error('forbid ha')] }});
this.props.form.setFields({vendor: {name: {errors: [new Error('forbid ha')] }}});
this.props.form.setFields({vendor.name: { errors: [new Error('forbid ha')] }});
both does not work at all
How to set error on nested value like:
vendor.name
I have tried tothis.props.form.setFields({vendor: {name: {errors: [new Error('forbid ha')] }}});
andthis.props.form.setFields({vendor.name: { errors: [new Error('forbid ha')] }});
both does not work at all