Attempting to edit a date field with a cleared date results in invalid date error #936
Labels
kind/bug
Something isn't working
lifecycle/active
priority/critical
Must be must be worked on before anything else.
triage/confirmed
Issue is well-defined and understood. Needs to have a priority/* label.
Milestone
What happened?
This first happened to me when attempting to edit a field with an existing date in the board editor view. Clicking away from the date field caused the date to go blank, and then attempting to add a new date did not add anything—this eventually broke the Table view and "Include Fields" selector on the board view, and caused the date associated with the note to be "Invalid Date."
With more digging, this seems to happen when editing a date that has been cleared, either manually or by clicking away in the board tab editor. When attempting to set a date from a date that has not been cleared, everything works fine.
After editing a cleared date I see this warning:
Viewing the date with the Table view or with "Include Fields" checked on the Board tab gives this error:
What did you expect to happen?
How can we reproduce it (as minimally and precisely as possible)?
In Table view
obsidian-issue-table.mov
In Board view
Uncaught RangeError
, include date field in card viewobsidian-issue-board.mov
Anything else we need to know?
No response
Plugin version
1.17.4
Obsidian version
1.6.7
OS
macOS
The text was updated successfully, but these errors were encountered: