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

fix: type=button on the trigger button

Open projectashik opened this issue 1 year ago • 1 comments

I was just implementing this multiselect component and I found that, when the form has onSubmit handler and user click on the multiselect trigger, the form submits. So, I have just added the type="button" in the multiselect.tsx file, which will stop that from happening.

image

projectashik avatar Sep 14 '24 18:09 projectashik