Desktop: Fixes #8937: Preserve previous values when updating a note's date fields (#8948)

pull/9015/head
CptMeetKat 2023-10-05 21:50:07 +11:00 committed by GitHub
parent 0320d9f479
commit ef6d94973c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ class NotePropertiesDialog extends React.Component<Props, State> {
controlComp = (
<Datetime
ref="editField"
defaultValue={value}
initialValue={value}
dateFormat={time.dateFormat()}
timeFormat={time.timeFormat()}
inputProps={{