Reading issue
sveltejs / svelte · Issue No. 18574
There are some inconsistencies in how value / defaultValue are handled with <textarea>.
Maybe that should be unified.
<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> |
✔️ | ❌ |
REPL
annoyance
Relay reads this issue against the repository's contribution signals: the files it is likely to touch, how the maintainers triage work this size, and what the first contribution would exercise.
The full analysis for this issue is still being assembled. Until then, the description above and the thread on GitHub are the most reliable context.