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

Refresh doesn't disable properly #115

Closed
eschmar opened this issue Aug 9, 2016 · 0 comments
Closed

Refresh doesn't disable properly #115

eschmar opened this issue Aug 9, 2016 · 0 comments

Comments

@eschmar
Copy link

eschmar commented Aug 9, 2016

When triggering a selectric refresh, disabled select elements can not be changed in value anymore, however the dropdowns will still open.

To reproduce run this in chrome console on the tool's website:
$('select').attr('disabled', 'disabled').selectric('refresh');

Destroying and initialising again works however:
$('select').attr('disabled', 'disabled').selectric('destroy').selectric('init');

Tested in chrome mac 52.

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