Skip to content

Conversation

@projectashik
Copy link

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

@vercel
Copy link

vercel bot commented Sep 14, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
shadcn-multi-select-component ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 14, 2024 6:50pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants