Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions src/useForm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -281,9 +281,7 @@ export class FormStore {
const namePath =
'INVALIDATE_NAME_PATH' in entity ? entity.INVALIDATE_NAME_PATH : entity.getNamePath();

// Ignore when it's a list item and not specific the namePath,
// since parent field is already take in count
if (!nameList && (entity as FieldEntity).isListField?.()) {
if (!nameList && (entity as FieldEntity).isList?.()) {
return;
}

Expand Down