soundasleep / jquery-dropdown

Bootstrap-style dropdowns with some added features and no dependencies.
Other
767 stars 268 forks source link

Added classes to visually disable items in dropdown #55

Closed nclements closed 9 years ago

nclements commented 10 years ago

For a test project I needed the ability to visually disable items in a dropdown. This was done via the dropdown-item-disabled class. The disabled item is greyed out and italicised. When the user hovers over a disabled item there should be no change. The demos now show this for both the menu list and the form controls. (Form controls need to have the form elements disabled separately.)