We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello! How can remove all values using "selector" mode? Why is there no "remove" method in this mode?
The text was updated successfully, but these errors were encountered:
Just directly set v-model value to empty array to remove all selected items
template
<template> <SelectPageList v-model="selected" /> <button type="button" @click="removeAll">remove all</button> </template>
script
import { ref } from 'vue' const selected = ref([]) function removeAll () { selected.value = [] }
Sorry, something went wrong.
@TerryZ Unfortunately, it don't work for me. The values from the component are not deleted.
https://stackblitz.com/edit/vue-l4lafc?file=src%2Fcomponents%2FHelloWorld.vue
Fixed in v3.0.1
v3.0.1
No branches or pull requests
Hello!
How can remove all values using "selector" mode? Why is there no "remove" method in this mode?
The text was updated successfully, but these errors were encountered: