From 341bf72929616c90bf8d36a242dd4aaec89b07fd Mon Sep 17 00:00:00 2001 From: Jack Lukic Date: Tue, 11 Aug 2015 19:12:10 -0400 Subject: [PATCH] Fixes #2818, action: hide now calls onChange #2818 --- RELEASE-NOTES.md | 1 + src/definitions/modules/dropdown.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/RELEASE-NOTES.md b/RELEASE-NOTES.md index d3800134f..e25d91cab 100644 --- a/RELEASE-NOTES.md +++ b/RELEASE-NOTES.md @@ -35,6 +35,7 @@ - **Container** - Fix issue with `fluid container` being `100% + gutter` at mobile resolution (causing overflow) - **Dropdown** - Remove use of `trim` which causes issues IE 11 and below #2806 - **Dropdown** - Fixes issues with setting "" (empty quote) values when `placeholder: false` is used. Fixes issues with using `clear` and `restore defaults` without placeholders. #2637 +- **Dropdown** - Fixed issue where `onChange` would not fire when using `action: 'hide'`. #2818 - **Embed** - Remove accidental `console.log` statements in js #2760 - **Form / Input** - Fixes `::placeholder` text color for `ui error input`, modifies form error placeholder color to distinguish from form value error color #2786 - **Form** - Date input and other special input in chrome now are the same height as normal input (adds custom vendor shadow dom styling) #2704 diff --git a/src/definitions/modules/dropdown.js b/src/definitions/modules/dropdown.js index 614ab90ed..3359472b6 100644 --- a/src/definitions/modules/dropdown.js +++ b/src/definitions/modules/dropdown.js @@ -1361,7 +1361,7 @@ $.fn.dropdown = function(parameters) { module.hideAndClear(); }, - hide: function() { + hide: function(text, value) { module.set.value(value); module.hideAndClear(); }