@tak-ps/vue-tabler 3.51.2 → 3.51.4

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,14 @@
10
10
 
11
11
  ## Version History
12
12
 
13
+ ### v3.51.4
14
+
15
+ - :rocket: Avoid adding div when label isn't set in Enum
16
+
17
+ ### v3.51.3
18
+
19
+ - :bug: Avoid overwriting `0` values
20
+
13
21
  ### v3.51.2
14
22
 
15
23
  - :bug: Fix fallback order of placeholder text in textarea
@@ -1,6 +1,11 @@
1
1
  <template>
2
2
  <div class='row'>
3
- <TablerLabel :label='label' :description='description' :required='required'><slot/></TablerLabel>
3
+ <TablerLabel
4
+ v-if='label'
5
+ :label='label'
6
+ :description='description'
7
+ :required='required'
8
+ ><slot/></TablerLabel>
4
9
  <div class='col-12'>
5
10
  <select v-model='current' :disabled='disabled' class='form-select'>
6
11
  <option :key='option' v-for='option in options' :value="option" v-text='option'></option>
@@ -105,7 +105,7 @@ export default {
105
105
  return {
106
106
  help: false,
107
107
  internal_error: '',
108
- current: this.modelValue || ''
108
+ current: this.modelValue === undefined ? '' : this.modelValue
109
109
  }
110
110
  },
111
111
  computed: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tak-ps/vue-tabler",
3
3
  "type": "module",
4
- "version": "3.51.2",
4
+ "version": "3.51.4",
5
5
  "lib": "lib.js",
6
6
  "module": "lib.js",
7
7
  "description": "Tabler UI components for Vue3",