-
Notifications
You must be signed in to change notification settings - Fork 294
Open
Description
I want use form.getFieldsValue function in onValuesChange callback. But When typing in the input element,form.getFieldsValue can not get the value.

But when changing field value by form.setFieldsValue function, in onValuesChange callback can get field value. Is this by design?

In createBaseForm.js
in this.setFieldsValue function, onValuesChange callback is invoked after this.setFields.
Line 370 in f02b478
| if (onValuesChange) { |
But in this.onCollect function, onValuesChange callback is invoked before this.setFields. Is this by design?
Line 133 in f02b478
| onCollect(name_, action, ...args) { |

Metadata
Metadata
Assignees
Labels
No labels