0👍
Add a watcher on "values" array (passed in v-model), and use following logic in the watcher.
watch: {
values: {
handler() {
const len = values.length;
this.values.splice(len-1, 1);
}
}
}
This will not overwrite the value.
Source:stackexchange.com