[Vuejs]-Data in Vue.js Multiselect

0๐Ÿ‘

โœ…

If you care only about client name then map results from response to string array with client name. I assume that you receive array of clients

mounted() {
    axios.get('clients/get')
         .then(response => 
               this.orderclientoptions = response.data.map(x => x.clientName);
}

Leave a comment