This task covers using v-model to allow the parent component to pass in a value for the TextArea, which will be automatically updated when the user changes the value within the <textarea> element.
- Vue docs on v-model
- This article that inspired our solution for managing data passed between parent and child components
- A new modelValue prop has been added to the TextArea component (see TextInput.vue for an example)
- The TextAreaDemo has been updated to set up a value ref, pass it into the TextArea component, and display the dynamic value (see TextInputDemo for an example)