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
{{ message }}
Repository navigation
UpdatingElement sets a remove attribute as 'null' for string properties #76
This seems unexpected, should investigate more, but a string property is reflected as undefined on initialization (e.g. for attribute 'foo', this.foo is undefined). After setting the property, and subsequently removing (removeAttribute('foo')), the reflected value is now stringified null, e.g. this.foo === 'null'.
This is unexpected reflection for representing the same state: an element that does not have the attribute in question.
Activity
jsantell commentedon Nov 6, 2018
lit/lit-element#293
cdata commentedon Jan 28, 2019
Quick update: looks like this was fixed in December via lit/lit-element#369 and released in v0.7.0 of lit-element