Wappler 4.1.3
Win 11
Node.JS
PostgreSQL
Hosted on Digital Ocean Droplet
Have an input field with type input type="datetime-local"
, this field is also required.
on API, have imported the fields from the form directly like this:
this is how the validation on the
datetime-local
field looks like:the problem is that since the incoming data is in date time format:
we get an error back from server side:
{"form":{"ValidFrom":"Please enter a valid date.","ValidUntil":"Please enter a valid date."}}
in the validation rules, there is no option for datetime:
request to please add option for datetime as well on server side validation.