I have a dateinput field that I need to validate. Unfortunately I can't seem to figure out how to make it work. The requirements are as follows:
1. The date is optional.
2. If the date is provided, it must be a valid date.
3. The input mask could be in various languages.
When I try to validate I get invalid date when the date field just has the input mask (month/day/year) showing.
Here is a dojo showing my example.