Version 6.2.0
reworked validation
Migration notes:
ngf-min-size
,ngf-max-size
are removed and replaced withngf-validate
which takes a object containing different constraints for the file validation.ngf-default-src
andngf-default-background
are removed in favor of using||
syntax: instead ofngf-src="file" ngf-default-src="defaultSrc"
usengf-src="file || defaultSrc"
- ngf-validate could be a function like before or an object specifying the validations. See the readme file for details.