Skip to content

Commit

Permalink
display-value notify
Browse files Browse the repository at this point in the history
  • Loading branch information
FrenchBen committed Apr 21, 2016
1 parent 4e1ed96 commit 0635c73
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 5 additions & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
v0.8.1
================
* display-value attribute now notifies

v0.8.0
======
================
* Apply scroll lock only if content has vertical scroll bars
* added 'checkbox-mode' attribute on px-dropdown-content, allowing it to function as a list of items with checkboxes

Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "px-dropdown",
"version": "0.8.0",
"version": "0.8.1",
"main": [
"px-dropdown.html"
],
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"name": "px-dropdown",
"author": "General Electric",
"description": "A Px Dropdown component",
"version": "0.8.0",
"version": "0.8.1",
"private": true,
"extName" : null,
"repository" :
Expand Down
2 changes: 2 additions & 0 deletions px-dropdown.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@
*/
displayValue: {
type: String,
notify: true,
value: ''
},
/**
Expand Down Expand Up @@ -204,6 +205,7 @@
_newTextValue: function(evt) {
this.set('value', evt.detail.textValue);
this.set('displayValue',evt.detail.textValue);

this.fire('change');

evt.stopPropagation();
Expand Down

0 comments on commit 0635c73

Please sign in to comment.