I noticed recently that when a user manually enters a date on a custom SharePoint form (which is a PowerApps app) that they can enter it incorrectly (e.g. 12-31-2001) and when they save the form it'll appear to save, but that column won't actually take the date and it'll be blank when the form is opened up the next time.
If I try to read the value the user entered from the date field (DateField.SelectedDate), then if it is formatted incorrectly, then I just get a blank value rather than a string, so I can't check it for improper formatting. It seems to be just correct or blank; nothing in-between. I don't want to prevent the from from saving if it returns blank because some of the date fields on my form are optional and in some cases, need to be left blank.
Does anyone else have a good setup for date validation on a PowerApps form?