Autoresize Controlled Textarea
Test: Type a character, click Clear, then type the same character again. The onChange should fire each time.
Value from state:
""
Instructions:
- Type any single character (e.g., "a")
- Click "Clear the field" button
- Type the same character again
- Expected: onChange fires, state updates to "a"
- Bug (before fix): onChange doesn't fire, state stays empty
Check the browser console for onChange logs.