@simsustech/quasar-components 0.11.21 → 0.11.22

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
@@ -1,5 +1,11 @@
1
1
  # @simsustech/quasar-components
2
2
 
3
+ ## 0.11.22
4
+
5
+ ### Patch Changes
6
+
7
+ - 9ef33d4: fix(components): set DateInput modelValue to null on clear
8
+
3
9
  ## 0.11.21
4
10
 
5
11
  ### Patch Changes
package/dist/form.js CHANGED
@@ -329,7 +329,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
329
329
  if (year.value && month.value && day.value && !isNaN(Date.parse(date))) {
330
330
  emit("update:modelValue", date);
331
331
  } else {
332
- emit("update:modelValue", "");
332
+ emit("update:modelValue", null);
333
333
  }
334
334
  });
335
335
  const formattedDate = computed(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simsustech/quasar-components",
3
- "version": "0.11.21",
3
+ "version": "0.11.22",
4
4
  "author": "Stefan van Herwijnen",
5
5
  "description": "High level components for Quasar Framework",
6
6
  "license": "MIT",
@@ -161,7 +161,7 @@ watch([year, month, day], () => {
161
161
  if (year.value && month.value && day.value && !isNaN(Date.parse(date))) {
162
162
  emit('update:modelValue', date)
163
163
  } else {
164
- emit('update:modelValue', '')
164
+ emit('update:modelValue', null)
165
165
  }
166
166
  })
167
167