Javascript – Error occur while sending date fields to server in react
I'm using react to send date to server but there is an error {message: 'Invalid date format. Date should be in the format YYYY-MM-DD.', field: 'from'} I'm completely sure the data is valid and here is the code const handleFilter…