[TextField] Multiline TextField value cannot be reset using '' #8565
Labels
component: TextareaAutosize
The React component.
duplicate
This issue or pull request already exists
Expected Behavior
I would expect that when I programmatically set the value of the multiline TextField to '', the text inside it would disappear.
Current Behavior
Currently, the previous value inside the multiline TextField is NOT being cleared after setting the value to ''.
Steps to Reproduce
You can directly reproduce the bug here: https://codesandbox.io/s/wwpojv800k
Results:
The content of the multiline TextField is not cleared.
Here is a very simple component you can directly add to your code to reproduce the bug:
Your Environment
The text was updated successfully, but these errors were encountered: