Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Remove 'Select all that apply' element from combobox #3166

Merged
merged 1 commit into from
May 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -176,26 +176,14 @@ const PopupIcon = <ArrowIcon sx={{ color: "primary.main" }} fontSize="large" />;
*/
const ListboxComponent = forwardRef<typeof Box, PropsWithChildren>(
({ children, ...props }, ref) => (
<>
<Box>
<ListHeader>
<Typography variant="h4" component="h3" pr={3}>
Select all that apply
</Typography>
<Button variant="contained" color="prompt" aria-label="Close list">
Done
</Button>
</ListHeader>
</Box>
<Box
ref={ref}
{...props}
role="listbox"
sx={{ paddingY: "0px !important" }}
>
{children}
</Box>
</>
<Box
ref={ref}
{...props}
role="listbox"
sx={{ paddingY: "0px !important" }}
>
{children}
</Box>
),
);

Expand Down
Loading