Closed FellowshipAgency closed 10 years ago
Sorry about that; will be fixed in 0.9.
For now, you can probably patch it by adding data-disabled="'+$el.prop("disabled")+'"
to the HTML markup on line 250, and then
if(ch.data('disabled')) return false;
on line 396 to prevent disabled choices from being selected. This is untested code though, and not a complete solution, as it doesn't add a class to easily style disabled choices, and it doesn't prevent them from being shown when filtered. I hope it will suffice for now, though. :)
In the next commit.
The plugin does not allow options to be disabled, e.g.:
In the code above, the second option should not be possible to select.