hernansartorio / hernansartorio/jquery-nice-select

Update method doesn't have any effect?

Open
#82 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
JavaScript
Stars
955
Forks
271
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.