Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Only set node.value if it's equal to initialValue
In IE11 textContent is populated when the placeholder attribute is set. Without this check, we end up setting node.value equal to the placeholder text, causing the textarea to actually render with the text inside. This check makes sure that textContent is equal to our expected initialValue, which should be the case when using defaultValue.
- Loading branch information