I have built a custom form to match branding and the form is working as expected. I have a date picker that also works. When I try to save the data , I try to set the task.start_date and it always fails when I do. I have tried several different formats and even matched the format of the task object but it doesn’t work and I get an error from a random function that I assume is trying to fix the date. I just can’t find the correct format to pass,
Hello,
It is hard to imagine what happens in your case without an example. There are two ways to convert the date: from string to date object and vice versa. I think in your case you need something like that
If that doesn’t help you, I need to fully understand what happens in your case. Please send me a sample of your code to see what might be wrong. You can modify the following snippet: snippet.dhtmlx.com/b3e34d9d5
After you edit the code and see that it reproduces the error, click on the “Share” button and copy the link for the snippet.
I just figured it out a few minutes ago. It seems that I was trying to pass a string object instead of a date object. I just modified the code to ensure it was passing a date object and that worked.