Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
410 views
in Technique[技术] by (71.8m points)

vue.js - Vuesax Vx-Select component doesn't show selected label

I'm using NuxtJs v2.14 with vuesax v4.0.1-alpha.25 by npm. While I'm using these section code to create my loop for v-select, this component doesn't show me selected label after choosing one of created options.

I tried and tested it by mobile devices and Win OS or every browsers like FireFox, Opera, Safari and Chrome but It hadn't worked for me.

here is my codes:

<vs-select placeholder="choose your brand" v-model="carBrand">
  <vs-option v-for="(item, index) in brands" :key="index" :label="item.name" :value="item.id">
    {{ item.name }}
  </vs-option>
</vs-select>

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share
...