@everchron/ec-shards 3.4.4 → 3.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everchron/ec-shards",
3
- "version": "3.4.4",
3
+ "version": "3.4.6",
4
4
  "private": false,
5
5
  "description": "Everchron Shards UI Library",
6
6
  "repository": "https://github.com/everchron/ec-shards.git",
@@ -72,8 +72,21 @@ export default {
72
72
  },
73
73
 
74
74
  mounted: function () {
75
- if (this.placeholder && this.placeholder !== '')
75
+ if (this.placeholder && this.placeholder !== '') {
76
76
  this.hasPlaceholder = true
77
+ }
78
+
79
+ this.$nextTick(() => {
80
+ const select = this.$refs.select;
81
+ const option = Array.from(select.options).find((option) => option.value === this.value);
82
+
83
+ if (option) {
84
+ option.selected = true
85
+ if (this.value !== this.currentValue) {
86
+ this.currentValue = this.value
87
+ }
88
+ }
89
+ })
77
90
  },
78
91
 
79
92
  methods: {
@@ -152,6 +165,7 @@ export default {
152
165
  background: transparent;
153
166
  background-image: none;
154
167
  -webkit-appearance: none;
168
+ appearance: none;
155
169
  position: relative;
156
170
  z-index: 1;
157
171