From cd4bba1a5bb1d7d777ea091efa984164faed986e Mon Sep 17 00:00:00 2001 From: Vlad Shusterman Date: Wed, 11 Jul 2018 12:29:55 +0300 Subject: [PATCH 01/18] 2 possibilities to unselect value --- .../VuesticSimpleSelect.vue | 203 ++++++++++-------- 1 file changed, 111 insertions(+), 92 deletions(-) diff --git a/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.vue b/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.vue index 0a9251a55..b1687dbcd 100755 --- a/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.vue +++ b/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.vue @@ -9,9 +9,15 @@ :class="{'has-value': !!value}" v-model="displayValue" :name="name" - :options="options"/> - - + :options="options"> +
+ +
+ + {{ showRequiredError() }} @@ -23,7 +29,7 @@ @@ -34,107 +40,120 @@ - From edb0288663622d3765a59ccf0c15d760e0788fa0 Mon Sep 17 00:00:00 2001 From: Vlad Shusterman Date: Wed, 11 Jul 2018 13:02:59 +0300 Subject: [PATCH 02/18] add clearable props --- .../vuestic-simple-select/VuesticSimpleSelect.vue | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.vue b/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.vue index b1687dbcd..d4502b8bb 100755 --- a/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.vue +++ b/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.vue @@ -10,7 +10,7 @@ v-model="displayValue" :name="name" :options="options"> -
+
Date: Wed, 11 Jul 2018 13:13:55 +0300 Subject: [PATCH 03/18] minor --- .../vuestic-simple-select/VuesticSimpleSelect.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.vue b/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.vue index d4502b8bb..61c27870f 100755 --- a/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.vue +++ b/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.vue @@ -10,7 +10,7 @@ v-model="displayValue" :name="name" :options="options"> -
+
Date: Wed, 11 Jul 2018 17:24:51 +0300 Subject: [PATCH 04/18] add placeholder --- .../vuestic-simple-select/VuesticSimpleSelect.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.vue b/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.vue index 61c27870f..dc85ad3fd 100755 --- a/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.vue +++ b/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.vue @@ -9,7 +9,8 @@ :class="{'has-value': !!value}" v-model="displayValue" :name="name" - :options="options"> + :options="options" + :placeholder="selectedValue">
Date: Wed, 11 Jul 2018 18:10:44 +0300 Subject: [PATCH 05/18] fix bug with objects --- .../vuestic-simple-select/VuesticSimpleSelect.vue | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.vue b/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.vue index dc85ad3fd..5c910c2cf 100755 --- a/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.vue +++ b/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.vue @@ -11,7 +11,7 @@ :name="name" :options="options" :placeholder="selectedValue"> -
+
Date: Thu, 12 Jul 2018 14:23:40 +0300 Subject: [PATCH 06/18] problem with cross --- .../VuesticSimpleSelect.demo.vue | 28 ++++++++++--------- .../VuesticSimpleSelect.vue | 12 ++++---- 2 files changed, 21 insertions(+), 19 deletions(-) diff --git a/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.demo.vue b/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.demo.vue index 378e48412..5c5b522df 100644 --- a/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.demo.vue +++ b/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.demo.vue @@ -1,17 +1,19 @@ diff --git a/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.vue b/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.vue index 5c910c2cf..5ace9adf7 100755 --- a/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.vue +++ b/src/vuestic-theme/vuestic-components/vuestic-simple-select/VuesticSimpleSelect.vue @@ -11,18 +11,18 @@ :name="name" :options="options" :placeholder="selectedValue"> -
- -
{{ showRequiredError() }}
+
+ +