0👍
Try making dropdownItems
a computed value that returns items
.
const dropdownItems = computed(() => items)
This will ensure that when items
is changed, the variable dropdownItems
is re-computed.
- [Vuejs]-El-input Field does not react to keyboard input
- [Vuejs]-Failing to fetch data when visiting page via link in Nuxt3
Source:stackexchange.com