AppFlowy
AppFlowy copied to clipboard
[Bug] Cannot add events to Calendar
Bug Description
When creating an event in the calendar, it is possible to change the type and name of the Date
field.
Changed the type of the field to Text, and the name and value of the field respectively to Hello
and World
.
Then changed to another page (where the calendar is referenced), the event was now missing. Went back to the calendar view, and was then unable to add an event to the calendar at all.
How to Reproduce
- Create a Calendar
- Create a Document
- Reference the Calendar in the new document
- Navigate to the Calendar
- Add an event
- Change type of the field
Date
toText
- Change name of the field
Date
toHello
- Change value of the field
Date
toWorld
- Navigate to the Document
- Event is missing
- Navigate back to the Calendar
- Try to add an event but nothing happens
Expected Behavior
- Create a Calendar
- Create a Document
- Reference the Calendar in the new document
- Navigate to the Calendar
- Add an event
- The
Date
fields name and type cannot be changed
Operating System
Windows
AppFlowy Version(s)
0.2.5
Screenshots
No response
Additional Context
Just changing the Date
field type to anything other than Date
is enough to cause the bug.
Hello @Xazin, I'll be working on this. I also realize the date field can be deleted as well which is definitely undesired behavior.
cannot reproduce it on macOS closing it for now