Browse Source

Add restore placeholder text

pull/3792/head
Jack Lukic 8 years ago
parent
commit
fc29e682ef
2 changed files with 4 additions and 1 deletions
  1. 2
      RELEASE-NOTES.md
  2. 3
      src/definitions/modules/dropdown.js

2
RELEASE-NOTES.md

@ -43,7 +43,7 @@
- **Table** - Fixed issue where `striped selectable` table would not correctly show hover color on striped rows - **Table** - Fixed issue where `striped selectable` table would not correctly show hover color on striped rows
**Enhancements** **Enhancements**
- **Dropdown** - Using API with dropdown will now
- **Dropdown** - Added new convenience method `restore placeholder text`
- **Rating** - Added new setting `fireOnInit` for rating, which defaults to `false`. When set to true `onRate` will fire when rating is initialized #3712 - **Rating** - Added new setting `fireOnInit` for rating, which defaults to `false`. When set to true `onRate` will fire when rating is initialized #3712
- **Site** `@px` and `@relativepx` i.e. `@relative12px` which can be used to return EM value of pixels are now extended to `@relative40px` - **Site** `@px` and `@relativepx` i.e. `@relative12px` which can be used to return EM value of pixels are now extended to `@relative40px`
- **Tabs** - Added option `deactivate`, defaults to `siblings` which will only deactivate tab activators that are DOM siblings elements to the activating element. Setting it to <code>'all'</code> will deactivate any other tab element initialized at the same time. - **Tabs** - Added option `deactivate`, defaults to `siblings` which will only deactivate tab activators that are DOM siblings elements to the activating element. Setting it to <code>'all'</code> will deactivate any other tab element initialized at the same time.

3
src/definitions/modules/dropdown.js

@ -1788,6 +1788,9 @@ $.fn.dropdown = function(parameters) {
module.set.text(defaultText); module.set.text(defaultText);
} }
}, },
placeholderText: function() {
module.set.placeholderText();
},
defaultValue: function() { defaultValue: function() {
var var
defaultValue = module.get.defaultValue() defaultValue = module.get.defaultValue()

Loading…
Cancel
Save