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 I create a published property with a default value and reflect: true, the property isn't reflected as an attribute until I change the property. Test case here:
The text here should show up in red (and the should show up as in devtools), but it doesn't.
If you use devtools to change the highlight value to 'red', nothing happens -- apparently we detect that the value hasn't changed and don't serialize it.
If you change it to another value then back to red, it works.
Currently, you can work around this by just setting reflect: true in the publish block and setting the default value in the ready callback. But it seems like the default value should reflect correctly.
The text was updated successfully, but these errors were encountered:
If I create a published property with a default value and reflect: true, the property isn't reflected as an attribute until I change the property. Test case here:
http://jsbin.com/sogon/7/edit
The text here should show up in red (and the should show up as in devtools), but it doesn't.
If you use devtools to change the highlight value to 'red', nothing happens -- apparently we detect that the value hasn't changed and don't serialize it.
If you change it to another value then back to red, it works.
Currently, you can work around this by just setting
reflect: true
in the publish block and setting the default value in theready
callback. But it seems like the default value should reflect correctly.The text was updated successfully, but these errors were encountered: