https://github.com/serhii-chernenko/vue3-textarea
https://github.com/serhii-chernenko/vue3-textarea
certification exam preparation textarea vue3
Last synced: over 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/serhii-chernenko/vue3-textarea
- Owner: serhii-chernenko
- Created: 2024-07-14T12:35:29.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-14T13:45:03.000Z (almost 2 years ago)
- Last Synced: 2025-01-13T19:40:14.000Z (over 1 year ago)
- Topics: certification, exam, preparation, textarea, vue3
- Language: JavaScript
- Homepage: https://serhii-chernenko.github.io/vue3-textarea/
- Size: 827 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
---
difficulty: 1
training: true
chapter: "Chapter 1: Advanced Component Techniques"
tags: vue
---
# Auto-growing Textarea Challenge
In this challenge, there is a bug in our existing `AutoHeightTextarea` component. Your task is to find out why and fix it! 💪
## Requirements
1. Currently the textarea adjusts it's height correctly when the user types in it.
2. BUT if the parent component provides a new value via v-model the height isn't updated properly
3. You should ensure the textarea adjusts it's height even when the parent updates the value
