Skip to content

Commit d69ccaa

Browse files
- Fixed a comment
1 parent 82f6749 commit d69ccaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/components/fields/ArrayField.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ class ArrayField<T = any, S extends StrictRJSFSchema = RJSFSchema, F extends For
419419
/** Callback handler used to change the value for a checkbox */
420420
onSelectChange = (value: any) => {
421421
const { onChange, idSchema } = this.props;
422-
// select change will pass the `path` array with the name
422+
// select change will pass an empty `path` array since the `ObjectField` will add the path value automatically
423423
onChange(value, [], undefined, idSchema && idSchema.$id);
424424
};
425425

0 commit comments

Comments
 (0)