An open API service indexing awesome lists of open source software.

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

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

![Screenshot of the solution](https://images.certificates.dev/csvd-training-code-challenge-5.gif)