| Index: third_party/polymer/v1_0/components-chromium/paper-input/paper-input-behavior-extracted.js
|
| diff --git a/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-behavior-extracted.js b/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-behavior-extracted.js
|
| index b397c7706370804883e47a71db6cbab6f57e2776..cef44440e6d044c64981661d334198ea7a98c63e 100644
|
| --- a/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-behavior-extracted.js
|
| +++ b/third_party/polymer/v1_0/components-chromium/paper-input/paper-input-behavior-extracted.js
|
| @@ -43,7 +43,8 @@
|
| */
|
| invalid: {
|
| type: Boolean,
|
| - value: false
|
| + value: false,
|
| + notify: true
|
| },
|
|
|
| /**
|
| @@ -307,10 +308,20 @@
|
|
|
| /**
|
| * Validates the input element and sets an error style if needed.
|
| + *
|
| + * @return {boolean}
|
| + */
|
| + validate: function() {
|
| + return this.inputElement.validate();
|
| + },
|
| +
|
| + /**
|
| + * If `autoValidate` is true, then validates the element.
|
| */
|
| - validate: function() {
|
| - return this.inputElement.validate();
|
| - },
|
| + _handleAutoValidate: function() {
|
| + if (this.autoValidate)
|
| + this.validate();
|
| + },
|
|
|
| /**
|
| * Restores the cursor to its original position after updating the value.
|
|
|