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);
}
Source:stackexchange.com