Closed nicksay closed 8 years ago
When setting an input element's value attribute via el.setAttribute(), the displayed value is not updated, and the original value returned by el.value instead of the new value. To fix this, assign the value attribute both ways.
input
value
el.setAttribute()
el.value
Also, add tests to catch this problem.
Closes #359.
PTAL @rviscomi
LGTM thanks for the fix
When setting an
input
element'svalue
attribute viael.setAttribute()
, the displayed value is not updated, and the original value returned byel.value
instead of the new value. To fix this, assign thevalue
attribute both ways.Also, add tests to catch this problem.
Closes #359.