RachWalm / dog-api

Backend for project 5 at code institue
0 stars 1 forks source link

Bug : Date has wrong format. Use one of these formats instead: YYYY-MM-DD when leaving date empty in form #64

Open RachWalm opened 6 months ago

RachWalm commented 6 months ago

As a user, I can wait to fill out a date till I have a date so that I can not have to tell the future.

Acceptance Criteria

Tasks

RachWalm commented 6 months ago

the validation of react will not accept null as a value, which is what is down loaded from the database so if the value is null it needs to be changed to an empty string to be acceptable to pass validation so this was done with a handle date function in dogprofileeditform