@simsustech/quasar-components 0.4.0 → 0.4.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 +6 -0
- package/dist/form.js +1 -1
- package/package.json +1 -1
- package/src/ui/form/DatePicker.vue +1 -1
package/CHANGELOG.md
CHANGED
package/dist/form.js
CHANGED
|
@@ -560,7 +560,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
560
560
|
const { periods, range, options: parentOptions } = toRefs(props);
|
|
561
561
|
const update = (val) => {
|
|
562
562
|
var _a;
|
|
563
|
-
if (typeof val !== "string") {
|
|
563
|
+
if (val && typeof val !== "string") {
|
|
564
564
|
const parsedFrom = val.from.replaceAll("/", "-");
|
|
565
565
|
const parsedTo = val.to.replaceAll("/", "-");
|
|
566
566
|
const unavailablePeriods = (_a = periods == null ? void 0 : periods.value) == null ? void 0 : _a.filter(
|
package/package.json
CHANGED
|
@@ -36,7 +36,7 @@ const lang = useLang()
|
|
|
36
36
|
const { periods, range, options: parentOptions } = toRefs(props)
|
|
37
37
|
|
|
38
38
|
const update = (val: { from: string; to: string } | string) => {
|
|
39
|
-
if (typeof val !== 'string') {
|
|
39
|
+
if (val && typeof val !== 'string') {
|
|
40
40
|
const parsedFrom = val.from.replaceAll('/', '-')
|
|
41
41
|
const parsedTo = val.to.replaceAll('/', '-')
|
|
42
42
|
const unavailablePeriods = periods?.value?.filter(
|