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

Selected item disappears while searching #64

Closed
chrisleesch opened this issue Nov 13, 2015 · 3 comments
Closed

Selected item disappears while searching #64

chrisleesch opened this issue Nov 13, 2015 · 3 comments

Comments

@chrisleesch
Copy link

Hi again,

When an item is currently selected, an the user is starting a new search, the currently selected item disappears, firing any triggers bound to the 'change' event when in effect, no change has happened yet (i.e. no new selection has occurred).
Also, when the user does not select a new item, but cancels out of the dropdown, the select loses its selected item.

While this behaviour is understandable, as the selected item is not a match for the new filter, I think it would be nice to have an option to keep the selected item in the dropdown as long as no other is actively selected.

Cheers,

Christophe

@chrisleesch
Copy link
Author

I found the preserveSelected option which, by its description, should solve this issue. However, setting it to true, does not seem to have any effect.

@truckingsim
Copy link
Owner

@Christophe can you see if this is fixed in v1.3.6

@truckingsim
Copy link
Owner

If it is still a problem after trying the latest release please open up a new issue.

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