-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add error message for invalid files selected (#526)
Displays an error message in the form area when the user 1. Drag and drop file(s) which have invalid type 2. After a user selects an invalid file(s) from OS-dialog The HTML structure of the error is: ``` <div class="dff-uploader"> <div class="dff-container" data-translations=“{… ", "Invalid file type": "Invalid file type. Try again"}"> <input type="file" name=“…” accept=".doc, .docx, …” id=“…”> <div class="dff-files”>…</div> <div class="dff-invalid-files"> <ul> <li class="dff-error”>{file.name}: Invalid file type. Try again</li> </ul> </div> </div> </div> ```
- Loading branch information
Showing
9 changed files
with
102 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters