-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
The SelectedOption
and SelectedOptions
returns empty results and they reactive using the useSelect
composable
#100
Comments
Fixed with |
Thanks, it works fine but when you close the popover the value will be reset to |
I don't think that happens, or I don't observe this behavior in the example you provided. Can you provide another one? |
It's weird, it works on the online playground but in my local project it doesn't. I try to investigate it more |
If in your local project you are using Alternatively, try wrapping them with |
Describe the bug
I want to get the
SelectedOption
orSelectedOptions
inside theSelectField
component based on theuseSelect
composable in order to be able to return the option label and show it inside the input box, However this is not reactive and it returns empty result at the first renderingTo Reproduce
Please check this playground example then inside the
SelectField
component I logged these return values (selectedOption
andselectedOptions
) where you can see the described issueExpected behavior
I expect to get the
selectedOption
object orselectedOptions
array whenever I select an optionThe text was updated successfully, but these errors were encountered: