Skip to content

Commit

Permalink
Fixes uselabels not clearing properly #4366 #4275
Browse files Browse the repository at this point in the history
  • Loading branch information
jlukic committed Jul 31, 2016
1 parent ad4e939 commit ca08f33
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions RELEASE-NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

**Bugs**
- **Menu** - Fixed issue where `dropdown` in `vertical menu` would not correctly open `upward` when no space below **Thanks @gdaunton** #4150 #4156
- **Dropdown** - Fixed issue where dropdown `clear` would not remove active state when `useLabels: true` and multiple dropdown #4275 #4366 **Thanks vinh123456789**
- **Dropdown** - `dropdown icon` no longer relies on stopping event propagation. This means using the dropdown icon will now cause other dropdowns to correctly hide. #3998
- **Dropdown** - Fixes `action: select` not working correctly since `2.2` due to incorrect use of new function signature. #4183
- **Dropdown** - Fixed typo causing selectObserver mutation observer not to disconnect **Thanks @Paklausk** #4311
Expand Down
2 changes: 1 addition & 1 deletion src/definitions/modules/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -2082,7 +2082,7 @@ $.fn.dropdown = function(parameters) {
},

clear: function() {
if(module.is.multiple()) {
if(module.is.multiple() && settings.useLabels) {
module.remove.labels();
}
else {
Expand Down

0 comments on commit ca08f33

Please sign in to comment.