Skip to content

Commit

Permalink
fix: unrecognized prop warning in form autosuggest (#3003)
Browse files Browse the repository at this point in the history
  • Loading branch information
syedsajjadkazmii authored Feb 14, 2024
1 parent 2801667 commit 7e4a81f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Form/FormAutosuggest.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ const FormAutosuggest = forwardRef(

return React.cloneElement(child, {
...rest,
childChildren,
children: childChildren,
'data-value': childChildren,
onClick: (e) => handleItemSelect(e, onClick),
id: menuItemId,
Expand Down

0 comments on commit 7e4a81f

Please sign in to comment.