Validate only last files when ngf-keep="true
See original GitHub issueWhen ngf-select
ngf-keep="true"
ngf-multiple="true"
(and ngf-max-size="3MB"
with upload on submit) and I add invalid file/files (maxSize exceeded in my case) files model is invalid (correctrly), but if next I add a valid file/files, then files model is valid (incorrectly). This seems to be incorrect, beceause in files model still is invalid file/files waiting to upload.
Issue Analytics
- State:
- Created 8 years ago
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Is it possible to copy/move only the most recent file (Last ...
Solved: Is it possible to copy/move only the most recent file (Last modified) in a folder using Power Automate Desktop? How can I...
Read more >Validation of file extension before uploading file - Stack Overflow
The validation whether the uploaded file is an image is done in server side only, by checking the magic numbers in the file...
Read more >Getting data from the latest file in a folder using Power Query
Select Data->Get Data -> From File -> From Folder and in a new window input folder path and click OK.
Read more >How to List Last Five Modified Files in Linux - Baeldung
2. Listing Last Modified Files. Assume we have a directory containing ten files named file-1. · 3. Using head. Now to limit the...
Read more >Validating Database Files and Backups
Previous · Next. Page 28 of 48 ... Validating Database Files with BACKUP VALIDATE ... Permits only one restore operation for each data...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve missed that option, It makes life easier 😉
@madurapa It is already attached to each file, just set
ng-model-options="{allowInvalid: true}"
to get all files with their error reason etc. '$errorand
$errorParam` it is mentioned in the docs. @jar240 you can also use this approach. If you have this option set and update the model the validations will be revalidated.