Afform - Required files causes form to never validate
Issue
When creating a Form Builder form that contains a required file the form will never validate properly even if a file is attached. As well, there is no validate error message as is provided for other required fields.
How to reproduce
- Create a Form Builder form
- Attach a file field
- Set the field as required
- Set a page to access the form
- Save
- View the page and fill out all the fields, including uploading a file
- The form will not validate
- Restart at Step 6, and don't add a file
- The form does not validate but the error message is not clear