0👍
The b-form-select
by default waiting for array of objects that has two property: text
and value
.
I think your data from the api is in a wrong structure.
https://bootstrap-vue.org/docs/components/form-select
If that’s the problem you can create a computed property to transform and get back your listOptions
in the right structure or you can transform it after you loaded from the server.
- [Vuejs]-How to pass mixin variuable as a path in image directly
- [Vuejs]-Is there any way to trigger v-dialog from vuex store?
Source:stackexchange.com