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

Add support for updating picker when underlaying select changes #19

Open
omarsaab96 opened this issue Feb 15, 2023 · 1 comment
Open

Comments

@omarsaab96
Copy link

@AuHau @taavs I am dynamically adding an option to the tag, but can't find a way for the plugin to refresh the dropdown list after initialization. Any help would be highly appreciated.

@AuHau
Copy link
Owner

AuHau commented Feb 17, 2023

Hmm, I am afraid that this use-case is not supported. You could call $('...').picker('destroy'); when you add a new option and then reinitialize Picker as a workaround but yeah not really a great solution.

@AuHau AuHau changed the title Can't create/add a new option to the list Add support for updating picker when underlaying select changes Feb 17, 2023
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