We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The dropdown is visible and you can select items when the input element is disabled:
<select class="chosen-select" multiple disabled> <option>Praesent vestibulum dapibus nibh</option> <option selected>Vestibulum facilisis purus</option> <option>Etiam ultricies nisi</option> </select>
Create a select input element and add the disabled attribute to it
Click on the select element, the grey/transparent dropdown is visible. You can select items.
https://jsfiddle.net/Lj2qzbwf/
If the field is disabled then it is not possible to interact with it.
https://github.com/JJJ/chosen/blob/master/docs/chosen.jquery.js#L1204 In the container_mousedown() function, the is_disabled check is not correctly implemented.
container_mousedown()
is_disabled
The disabled state must be checked at the beginning of the function. See https://github.com/harvesthq/chosen/blob/master/coffee/chosen.jquery.coffee#L134
The text was updated successfully, but these errors were encountered:
The fix is in the PR: #57
Sorry, something went wrong.
No branches or pull requests
The dropdown is visible and you can select items when the input element is disabled:
Steps to reproduce
Create a select input element and add the disabled attribute to it
Click on the select element, the grey/transparent dropdown is visible. You can select items.
https://jsfiddle.net/Lj2qzbwf/
Expected behavior
If the field is disabled then it is not possible to interact with it.
Additional information
https://github.com/JJJ/chosen/blob/master/docs/chosen.jquery.js#L1204
In the
container_mousedown()
function, theis_disabled
check is not correctly implemented.The disabled state must be checked at the beginning of the function. See https://github.com/harvesthq/chosen/blob/master/coffee/chosen.jquery.coffee#L134
The text was updated successfully, but these errors were encountered: