Index: third_party/polymer/v1_0/components-chromium/paper-dropdown-menu/paper-dropdown-menu-extracted.js |
diff --git a/third_party/polymer/v1_0/components-chromium/paper-dropdown-menu/paper-dropdown-menu-extracted.js b/third_party/polymer/v1_0/components-chromium/paper-dropdown-menu/paper-dropdown-menu-extracted.js |
index d9fa92458be22ac3553b89c818d07d6aa8cd006f..54b3fd4a737e9fbcad5eed3f0f7a2e3afaa8c8f8 100644 |
--- a/third_party/polymer/v1_0/components-chromium/paper-dropdown-menu/paper-dropdown-menu-extracted.js |
+++ b/third_party/polymer/v1_0/components-chromium/paper-dropdown-menu/paper-dropdown-menu-extracted.js |
@@ -246,11 +246,12 @@ |
/** |
* Returns false if the element is required and does not have a selection, |
* and true otherwise. |
+ * @param {Object} ignored |
* @return {boolean} true if `required` is false, or if `required` is true |
* and the element has a valid selection. |
*/ |
- _getValidity: function() { |
- return this.disabled || !this.required || (this.required && this.value); |
+ _getValidity: function(ignored) { |
imcheng
2015/12/10 21:37:21
This function overrides _getValidity from IronVali
Dan Beam
2015/12/10 23:41:36
don't change things that get overwritten every tim
imcheng
2015/12/11 01:14:59
Acknowledged. It looks like somebody already has a
|
+ return this.disabled || !this.required || (this.required && !!this.value); |
}, |
_openedChanged: function() { |
@@ -261,4 +262,4 @@ |
} |
} |
}); |
- })(); |
+ })(); |