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
After loading the page, clicking reset works as expected: the textarea's contents changes from hello world to hi world. However, if I modify the textarea's contents prior to clicking reset, nothing happens. The issue appears to be related to the text being a child element of the textarea - an analogous version with an input element and a value attribute works as expected.
Should I be expecting this behavior?
The text was updated successfully, but these errors were encountered:
I'm defining a
textarea
like thisAfter loading the page, clicking reset works as expected: the textarea's contents changes from
hello world
tohi world
. However, if I modify the textarea's contents prior to clicking reset, nothing happens. The issue appears to be related to the text being a child element of the textarea - an analogous version with aninput
element and avalue
attribute works as expected.Should I be expecting this behavior?
The text was updated successfully, but these errors were encountered: