Problem Statement
What does v-model do in Vue and where is it typically used?
Explanation
v-model creates two-way binding between form inputs and component state. It updates the view when the data changes and updates the data when the user types or selects. It’s commonly used with <input>, <textarea>, and <select> elements, as well as with custom components that define a model prop and update event.