Skip to content

Commit

Permalink
add instanceId to both dropdowns
Browse files Browse the repository at this point in the history
  • Loading branch information
ccatherinetan committed Dec 30, 2024
1 parent 293eccd commit 954d7de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions components/FilterDropdownMultiple/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ export default function FilterDropdownMultiple<T>({
// use custom styled components instead of default components
components={{ MultiValue: StyledMultiValue, Option: CustomOption }}
menuPosition="fixed"
instanceId="dropdown-multiple"
/>
);
}
1 change: 1 addition & 0 deletions components/FilterDropdownSingle/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ export default function FilterDropdownSingle<T>({
isSearchable={false}
hideSelectedOptions={false}
menuPosition="fixed"
instanceId="dropdown-single"
/>
);
}

0 comments on commit 954d7de

Please sign in to comment.