Skip to content

Version 9.0.0

Compare
Choose a tag to compare
@danialfarid danialfarid released this 02 Oct 19:58
· 253 commits to master since this release

Fixed #1036, #1040, added ng-model-options and image drop from page

Migration Notes:

  • By default only the valid files will be assigned to the model. This is the breaking change from previous major version. You can access the invalid files by ngf-model-invalid="invalidFilesArray" or you can make the invalid files to be assigned to the model by ng-model-options: {allowInvalid: true}

    This is to make the ng-model behave more like other angular input controls. Also ng-model-options is supported now (excluding getterSetter): https://docs.angularjs.org/api/ng/directive/ngModelOptions
  • ngf-reset-on-click is removed. To achieve the same behaviour use ng-model-options="{updateOn: 'change drop paste'}"
  • Added support for drag and drop images from within browser's pages into the drop box: #79