Skip to content

Commit

Permalink
Fix date / datetime got omitted in Edit Note modals (#948)
Browse files Browse the repository at this point in the history
  • Loading branch information
Acylation authored Sep 25, 2024
1 parent 5d95a4e commit 4708482
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/components/FieldControl/FieldControl.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
export let field: DataField;
export let value: Optional<DataValue>;
let cachedValue: Optional<Date>; // store the proposing value
let cachedValue: Optional<Date> = isDate(value) ? value : null; // store the proposing value
export let onChange: (value: Optional<DataValue>) => void;
export let readonly: boolean = false;
Expand Down

0 comments on commit 4708482

Please sign in to comment.