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

Update method doesn't have any effect? #82

Open
contempoinc opened this issue Nov 20, 2018 · 1 comment
Open

Update method doesn't have any effect? #82

contempoinc opened this issue Nov 20, 2018 · 1 comment

Comments

@contempoinc
Copy link

I have set of selects country, zip/postcode, state & city that are linked so when one is selected say state it'll only show cities within the standard select that are within that state, works perfectly with the normal selects.

However after applying niceselect the list isn't being updated with the original selects options, I've tried using:

jQuery('select').niceSelect('update');

But it doesn't seem to have any effect, I can see in the source the original selects are updating properly its just the replaced select list isn't, am I using this correctly? Do I need to call it with something else? Any help is greatly appreciated!

@ghost
Copy link

ghost commented Apr 8, 2020

Any updates for using .niceSelect('update')?

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

1 participant