Attempting to initial set a date in a date field of a note edit results in invalid date error
Opened this issue · 0 comments
What happened?
I made a new entry in my new Project and when i edit the note in the board view and try to set a date, it gets reset and i cant set a date anymore.
When i look into the table view, i see, that the date column was modified from date to string.
i go to the board view and add a note.
Then i edit the new note and set a Date.
It dosnt matter if i take the date picker or write the date myself.
The Date is choosen and visible, until i leave the cell.
When i change to the table view, everything is gone for a while.
Now the Start Time is a String, as an invalid Date was set.
Meanwhile, the Date "Initial Time" was automatically reset from string to date. (happens sometimes)
Inside the note i can set the properties so i can see the Start Time and there it still is a Date with an invalid value.
That Date can be set there to a valid date.
If i clear all invalid dates i sometimes can reset the columns to a date.
I have to make a new note, go into that new note, add the 3 properties and choose a valid date for each of them.
Then the columns inside the table resets to "date".
What did you expect to happen?
That i can set a date inside the board view without having any problems.
Even if i set a wrong date, i expect it to keep the column as a date and maybe set a completly different date (e.g. 01.01.1901)
How can we reproduce it (as minimally and precisely as possible)?
- Have a project with atleast one date column
- Add a note in the Board View
- Click on it to edit the note
- Enter a Date
- leave the Date cell
- Save the edit
Anything else we need to know?
If i open the note itself and add the date property there and set a date, everything works fine.
Then I even can change the date in the board view when i edit a note and it dosnt break.
Plugin version
1.17.4
Obsidian version
1.7.7
OS
Windows