@tak-ps/vue-tabler 3.0.0 → 3.0.1

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/CHANGELOG.md CHANGED
@@ -10,6 +10,10 @@
10
10
 
11
11
  ## Version History
12
12
 
13
+ ### v3.0.1
14
+
15
+ - :bug: Fix initial value
16
+
13
17
  ### v3.0.0
14
18
 
15
19
  - :rocket: Standardize Enum Component
@@ -46,11 +46,8 @@ export default {
46
46
  }
47
47
  },
48
48
  mounted: function() {
49
- if (!this.default) {
50
- this.current = this.options[0];
51
- } else {
52
- this.current = this.default;
53
- }
49
+ if (!this.modelValue && this.default) this.current = this.default
50
+ else this.current = this.modelValue;
54
51
  },
55
52
  }
56
53
  </script>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/vue-tabler",
3
3
  "type": "module",
4
- "version": "3.0.0",
4
+ "version": "3.0.1",
5
5
  "lib": "lib.js",
6
6
  "module": "lib.js",
7
7
  "description": "Tabler UI components for Vue3",