Important constraints and tips
masterWhen using rc-form, keep these rules in mind:
- No Stateless Components: Do not use stateless function components inside a Form component.
- Prop Name Collisions: You cannot use the same prop name as the value of
triggerorvalidateTriggeringetFieldProps. If you need a customonChange, you must provide it in the options or usegetFieldDecorator. - Refs: Do not use the
refprop withgetFieldProps. UsegetFieldInstance(name)to get the field's React public instance instead.