[Vuejs]-Without page refresh dropdown selected option value to get data form api vue3

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.

Leave a comment