From 592df533b78783f0ea9a234828ce275edd53061f Mon Sep 17 00:00:00 2001
From: Marko Zabreznik
Date: Sat, 13 Jan 2018 11:53:34 +0100
Subject: [PATCH 01/15] Fix for
https://github.com/sagalbot/vue-select/issues/350
Builds on https://github.com/sagalbot/vue-select/pull/420 and fixes the string options array edge case.
Added dev.html example.
---
dev.html | 8 ++++++++
src/components/Select.vue | 6 +++---
2 files changed, 11 insertions(+), 3 deletions(-)
diff --git a/dev.html b/dev.html
index 1a39950..cfc55ef 100644
--- a/dev.html
+++ b/dev.html
@@ -46,6 +46,14 @@
{{option.label}} ({{option.value}})
+
+
+ {{option.label}}
+
+
+ {{option.label}}
+
+
+ :option="(typeof option === 'object')?option:{[label]: option}" :deselect="deselect" :multiple="multiple" :disabled="disabled">
-
+
{{ getOptionLabel(option) }}
-
+
{{ option.title }}
-
-
-
-
+
- Supports Vuex
@@ -108,7 +100,6 @@
-