Describe the bug
There are some inconsistencies in how value / defaultValue are handled with <textarea>.
Maybe that should be unified.
Reproduction
<textarea value="hi"></textarea>
<textarea value={'hi'}></textarea>
<textarea defaultValue="hi"></textarea>
<textarea defaultValue={'hi'}></textarea>
Where the textarea gets a value:
| Case | CSR | SSR |
|---|---|---|
<textarea value="hi"></textarea> | ❌ | ✔️ |
<textarea value={'hi'}></textarea> | ✔️ | ✔️ |
<textarea defaultValue="hi"></textarea> | ✔️ | ❌ |
<textarea defaultValue={'hi'}></textarea> | ✔️ | ❌ |
Logs
System Info
REPL