Affects Version/s: 6.2.X EE, 7.0.0 Alpha 3
Component/s: ~ [Archived] Frontend Infrastructure
Validation for file input is triggered before a file is uploaded.
Step to reproduce:
- Add a structure with a file input(For 6.2.X, it is Image field, but for trunk, we refactor the image field, so the issue is hidden).
- Add a template with this structure.
- Add a web content with this template and structure.
- Click on the choose button
The validation is not triggered until the end user upload a wrong type of file.
The validation is fired when the file dialog is opened, before a file is chosen.