(name_, action, ...args)
| 131 | }, |
| 132 | |
| 133 | onCollect(name_, action, ...args) { |
| 134 | const { name, field, fieldMeta } = this.onCollectCommon( |
| 135 | name_, |
| 136 | action, |
| 137 | args, |
| 138 | ); |
| 139 | const { validate } = fieldMeta; |
| 140 | |
| 141 | this.fieldsStore.setFieldsAsDirty(); |
| 142 | |
| 143 | const newField = { |
| 144 | ...field, |
| 145 | dirty: hasRules(validate), |
| 146 | }; |
| 147 | this.setFields({ |
| 148 | [name]: newField, |
| 149 | }); |
| 150 | }, |
| 151 | |
| 152 | onCollectValidate(name_, action, ...args) { |
| 153 | const { field, fieldMeta } = this.onCollectCommon(name_, action, args); |
nothing calls this directly
no test coverage detected