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

ComboBox Value Not Reflecting on Every Change #250

Closed
SreeniIO opened this issue Aug 23, 2023 · 3 comments
Closed

ComboBox Value Not Reflecting on Every Change #250

SreeniIO opened this issue Aug 23, 2023 · 3 comments

Comments

@SreeniIO
Copy link

SreeniIO commented Aug 23, 2023

Description:

When using the controlled ComboBox component, there's an inconsistent behavior observed. Changing the value of the ComboBox seems to reset the ComboBox's value every other time.

Steps to Reproduce:

Navigate to the provided playground.
Select any value from the ComboBox.
Click the links below the ComboBox.
Notice that every odd click resets the ComboBox to an empty value.

Expected Behavior:

The ComboBox should consistently display the changed value every single time.

Actual Behavior:

Every odd click on the link below the ComboBox empties the ComboBox value.

Additional Information:

Link to the playground for reproduction: here
@kobalte/core: 0.10.0
solid-js: 1.7.11

@SreeniIO
Copy link
Author

This issue is still reproducible with @kobalte/core: 0.11.0

https://stackblitz.com/edit/kobalte-playground-cwscoa?file=package.json

@SreeniIO
Copy link
Author

Ok. It works fine, if I remove the filter and use the defaultFilter prop and pass all options.

@fabien-ml
Copy link
Collaborator

Hi, sorry i'm currently struggling to deploy the new documentation web site.
Here is an updated playground: https://stackblitz.com/edit/kobalte-playground-url9mn?file=src%2FApp.tsx.

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

No branches or pull requests

2 participants