Skip to content

If value is false not showing text  #1138

Closed
@SeyyedKhandon

Description

First of all thank you for this great component.
the problem is when you use true false for select options, it wont show the false value and it seems there is no way to use it for boolean case :

Vue.component('v-select', VueSelect.VueSelect)

new Vue({
  el: '#app',
  data: {
    options: [true, false]
  }
})

<div id="app">
  <h1>Vue Select</h1>
  <v-select :options="options"></v-select>
</div>

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions