Skip to content

Commit

Permalink
Add spread props
Browse files Browse the repository at this point in the history
  • Loading branch information
azizjonnurov committed Feb 5, 2025
1 parent 55874bf commit 9beeef6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/FieldTags/FieldTagsContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ const FieldTagsContainer = ({
mutator,
name,
resources,
...props
}) => {
const allTags = get(resources, ['tags', 'records'], []);
const tagSettings = get(resources, ['configTags', 'records'], []);
Expand All @@ -46,6 +47,7 @@ const FieldTagsContainer = ({
marginBottom0={marginBottom0}
name={name}
onAdd={onAdd}
{...props}
/>
);
};
Expand Down
2 changes: 2 additions & 0 deletions lib/FieldTags/FieldTagsFinal.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ const FieldTagsFinal = ({
marginBottom0,
name,
onAdd,
...props
}) => {
const { change } = useForm();
const addTag = useCallback(
Expand Down Expand Up @@ -72,6 +73,7 @@ const FieldTagsFinal = ({
marginBottom0={marginBottom0}
name={name}
validateFields={[]}
{...props}
/>
);
};
Expand Down

0 comments on commit 9beeef6

Please sign in to comment.