Oct 18, 2023
0
Level 2
vue-next-select concatenate two fields
I need to concatenate two fields in label-by property
import VueSelect from 'vue-next-select';
import 'vue-next-select/dist/index.min.css';
const app = createApp({})
app.component('vue-select', VueSelect)
<vue-select @input="form.driver = $event.target.value" v-model="form.driver" :options="drivers" searchable close-on-select label-by="name" placeholder="Driver" track-by="name"></vue-select>
how to concatenate like name and designation
Please or to participate in this conversation.