shadcn-multi-select-component
shadcn-multi-select-component copied to clipboard
MultiSelect does not respect the maxCount
trafficstars
Steps to repro:
<MultiSelect
modalPopover={true}
className="overflow-y-auto"
options={list}
onValueChange={(e : string[])=>{
setSelected(e)
}}
defaultValue={selected}
placeholder="Select up to 20"
variant="secondary"
animation={0}
maxCount={5}
/>