field-form icon indicating copy to clipboard operation
field-form copied to clipboard

IsFieldTouched doesn't work with Form.List

Open fstn opened this issue 5 years ago • 1 comments

Hi, I'm using antd form with Form.list map. I'm not able to check isFieldTouched for field inside the list:

##Reproduction:

Edit AntD Form List - Multiple Form.Item - Dynamic Fields (forked)

##What happened?

As you can see

form.getFieldValue(["fields",0, "name"])return the new typed value. But form.isFieldTouched(["fields",0, "name"]) always return false.

I think it's an issue.

fstn avatar Aug 26 '20 18:08 fstn

Hi, I'm facing the same issue, any update? isFieldTouched always returns false for items inside a form list

nehaalrejam avatar Sep 12 '22 14:09 nehaalrejam