I am trying to save some data back to the database and one of the values is a date that is chosen from the ‘Date Picker’ component. When I try to do a POST request to the database, it throws an error for the date value and says the date is null. I am assuming I am not handling the date variable properly. I would appreciate any help with regards saving this date value.
See below a screenshot of the data I am trying to post to the database and the error I get back. When I make the date value empty, I get a successful save to the database