I have an older PowerApp (written 3-4years ago). Its been working fine, without issue for a long time.
I opened the app to work on it, and one of the Submit buttons has a red X on it. There does not seem to be an issue with the actual submit process (I would have heard about it because the app is actively used by ~300 people).
The error shows that the DatePicker control is not accepting the .SelectDate property:

"Invalid argument type. Expecting one of the following: Boolean, Number, Text, OptionSetValue."
1. Why is this error occurring?
2. How do I fix the error?
Thank you