shadcn-multi-select-component icon indicating copy to clipboard operation
shadcn-multi-select-component copied to clipboard

MultiSelect does not respect the maxCount

Open rhijjawi opened this issue 1 year ago • 0 comments
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}
 />

rhijjawi avatar Nov 14 '24 03:11 rhijjawi