Skip to content

Reset Select selected value #1808

Discussion options

You must be logged in to vote

Based on my understanding of your use case, I recommend explicitly changing the collection when the id changes.

Here's an example:
https://stackblitz.com/edit/vitejs-vite-mhintx?file=src%2FApp.tsx&terminal=dev

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by segunadebayo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants