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 }}
This repository has been archived by the owner on Apr 11, 2023. It is now read-only.
Textareas have their "value" set in content, not in attribute. When adding content to a textarea it should not be appended, it should replace any current content.
This could be done by overriding withContent() and have it call withDefaultContent().
The text was updated successfully, but these errors were encountered:
bjuppa
changed the title
Make TextareaElement's withContent() not append
Make TextareaElement's withContent() not append & withAttribute('value') set content
Aug 10, 2016
Also, if calling withAttribute('value') on TextareaElement the developer's intention is probably to set content, not the value attribute (it is not allowed on textarea anyway).
This would help if calling setInputAttribute('value') on a control block including a textarea.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Textareas have their "value" set in content, not in attribute. When adding content to a textarea it should not be appended, it should replace any current content.
This could be done by overriding
withContent()
and have it callwithDefaultContent()
.The text was updated successfully, but these errors were encountered: