Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(SelectItem): Emit a select event when an option is selected #1513

Merged
merged 5 commits into from
Jan 11, 2025

Conversation

kilobyte2007
Copy link
Contributor

@kilobyte2007 kilobyte2007 commented Dec 19, 2024

I've implemented a select event/emit on the SelectItem so it's consistent with Listbox/Combobox.
This is especially important when using multiple because we cannot rely on update:modelValue as we only need the specific item that was last selected.

Let me know if you have any questions or objections!

Copy link

pkg-pr-new bot commented Dec 19, 2024

Open in Stackblitz

npm i https://pkg.pr.new/reka-ui@1513

commit: 2922b10

@kilobyte2007
Copy link
Contributor Author

I see there's a failing check. But it doesn't seem to be caused by my changes as I didn't touch that part of the code.

@zernonia
Copy link
Member

Yoo @kilobyte2007 ! I've fixed the test issue, can you please rebase the branch on origin/main or merge from origin/main? 😁

@zernonia zernonia merged commit da48939 into unovue:v2 Jan 11, 2025
5 checks passed
@zernonia
Copy link
Member

Thanks for the feature OR @kilobyte2007 ! Looking good! 😁

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.

2 participants