You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a property is declared on a behavior to include a default value, and the property is also declared e.g. on the element (or any subsequent behavior) where the default value is not specified, the property will not be initialized. This is an unintentional compatibility change from Polymer 1.x.
Description
If a property is declared on a behavior to include a default value, and the property is also declared e.g. on the element (or any subsequent behavior) where the default value is not specified, the property will not be initialized. This is an unintentional compatibility change from Polymer 1.x.
Live Demo
3.x: https://jsbin.com/kuxoqig/edit?html,console,output
1.x: https://jsbin.com/puvowih/edit?html,console,output
Expected Results
Console logs
"prop default value: 42"
Actual Results
Console logs
"prop default value: undefined"
Browsers Affected
All
Versions
The text was updated successfully, but these errors were encountered: