Skip to content

Commit

Permalink
Merge pull request #350 from youyoumu/add-gap-to-multiselectelement
Browse files Browse the repository at this point in the history
Add small gap to MultiSelectElement
  • Loading branch information
dohomi authored Feb 10, 2025
2 parents eb1d692 + baa8f2b commit 6a9d547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rhf-mui/src/MultiSelectElement.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ const MultiSelectElement = forwardRef(function MultiSelectElement<
? rest.renderValue
: showChips
? (selected) => (
<div style={{display: 'flex', flexWrap: 'wrap'}}>
<div style={{display: 'flex', flexWrap: 'wrap', gap: '4px'}}>
{(preserveOrder
? options.filter((option) =>
(selected as any[]).includes(option)
Expand Down

0 comments on commit 6a9d547

Please sign in to comment.