Editing waitField results in a black screen
Describe the bug When editing a waitField, the screen goes completely black. The app breaks and needs a page refresh to work again.
To Reproduce Steps to reproduce the behavior:
- Go to
http://localhost:5173/home - Select any task whose waitField is filled
- Click on a waitField to edit it
- Screen goes black and becomes unresponsive
Expected behavior The DatePicker should open normally when editing.
Video
https://github.com/user-attachments/assets/d8c7adbd-09ea-43c0-b2e7-f174c46e0b92
Desktop (please complete the following information):
- OS: macOS
- Browser: Chrome
- Version: Latest
Additional context
Console error: Uncaught RangeError: Invalid time value at DatePicker (date-picker.tsx:38:19)
The error occurs in the <DatePicker> component inside the table when trying to edit a field. The DatePicker is receiving an invalid date value (likely null, undefined, or incorrectly formatted). This causes the component to crash and render a black screen.
Error boundary stack trace shows the error propagates through:
- DatePicker → table.tsx → dialog.tsx → Tasks component
The issue is that waitField data isn't being passed correctly to the DatePicker on edit mode.
- [X] I want to work on this issue.
hey @ShivaGupta-14 bro do you use twitter or discord
Hi, @Neeraj-gagat! Yes, I am on both. Discord
Hi @Neeraj-gagat! I’m not very active on Twitter, but I’m always available on Discord, let’s connect there!
@Neeraj-gagat
check this one -> discordapp.com/users/1368859909533466656
Hi, @Neeraj-gagat! Yes, I am on both. Discord
This discord link is not working bro