-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Linter complains paper-listbox attr-for-selected name when placed on paper-item #565
Comments
you have to set it as an attribute:
By default Polymer data binding sets property values. |
Thanks. Could the verbiage need refinement? the |
var propValue = item[dashToCamelCase(this.attrForSelected)];
return propValue != undefined ? propValue :
item.getAttribute(this.attrForSelected); So it's getting the property first, and if it's not set it falls back to the attribute. In this case,
|
When using
paper-listbox
andattr-for-selected="value"
withpaper-item
, the linter complains below. Is this a error on the linter part? Everything looks legit Polymer wise. It doesn't matter what name I use for theattr-for-selected
, it will complain.The text was updated successfully, but these errors were encountered: