Skip to content

UpdatingElement sets a remove attribute as 'null' for string properties #76

@jsantell

Description

@jsantell

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions