Skip to content

Commit 0887c88

Browse files
committed
Merge branch 'fix-datefield-sync' into 'main'
Fix date field empty value not saved as null See merge request reportcreator/reportcreator!1032
2 parents d25380a + bf660df commit 0887c88

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Changelog
22

3+
## Upcoming
4+
* Fix date field empty value not saved as null
5+
6+
37
## v2025.69 - 2025-08-13
48
* Replace deprecated bitnami redis docker image with official redis image
59
* Plugin `markdownexport`: Export reports as Markdown documents in ZIP format

packages/nuxt-base-layer/src/components/S/DatePicker.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<template>
22
<s-text-field
33
:model-value="props.modelValue"
4-
@update:model-value="emit('update:modelValue', $event)"
4+
@update:model-value="emit('update:modelValue', $event || null)"
55
:disabled="props.disabled"
66
:readonly="props.readonly"
77
:rules="rules"
88
prepend-inner-icon="mdi-calendar"
99
spellcheck="false"
10-
:clearable="props.readonly"
10+
:clearable="!props.readonly"
1111
@click:clear="emit('update:modelValue', null)"
1212
@focus="emit('focus', $event)"
1313
@blur="emit('blur', $event)"

0 commit comments

Comments
 (0)