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:
  1. Type any single character (e.g., "a")
  2. Click "Clear the field" button
  3. Type the same character again
  4. Expected: onChange fires, state updates to "a"
  5. Bug (before fix): onChange doesn't fire, state stays empty

Check the browser console for onChange logs.