form icon indicating copy to clipboard operation
form copied to clipboard

Not expected values ​​in onValuesChange method.

Open tippillow opened this issue 5 years ago • 0 comments

I am using Form.List inside Form.List and when removing the inner formList onValuesChange() is giving away an unexpected second argument. form.getFieldsValue() returns the same. But if you call the onFinish() method, then it is correct the value I expected.

demo - https://stackblitz.com/edit/react-izdsz3-ubydjz?file=index.js.

How to reproduce:

  1. Open console.
  2. Click button "Add field"
  3. Clcik button "Add nickname"
  4. Delete field.
  5. Click button "Submit"
  6. Check the differences image

UnFtFxyKMM

tippillow avatar Dec 03 '20 13:12 tippillow