0๐
โ
You have onChange
as a literal false
, which is not reactive.
Wrap the value in a a ref
to enable reactivity:
import { ref } from 'vue'
export default {
setup() {
return {
//onChange: false โ not reactive
onChange: ref(false) โ
}
}
}
Source:stackexchange.com