My child component has an input field that is supposed to update the data in the parent component when the user starts typing. Below is a snippet of my code, let me know if you need more information.
Child
<input
:keyup="updateFilters(filters[data.field.key])"
:placeholder="data.label"
/>
methods: {
updateFilters(value) {
this.$emit("input", value);
}
}
Parent
data() {
return {
filters: {
name: "",
age: "",
address: "",
},
};
},