You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On line https://github.com/danialfarid/ng-file-upload/blob/master/src/model.js#L37 you re-parse the ngModel var name off the dom and use .assign to update the model value.
This prevents users from adding their own ng-model validators and using ng-model-controller to control how the model is updated.
It also has the effect of preventing the use of this directive in a component directive which inherits it's ngModel via replacement, if that directive has an isolate scope...
The text was updated successfully, but these errors were encountered:
On line
https://github.com/danialfarid/ng-file-upload/blob/master/src/model.js#L37
you re-parse the ngModel var name off the dom and use.assign
to update the model value.This prevents users from adding their own ng-model validators and using
ng-model-controller
to control how the model is updated.It also has the effect of preventing the use of this directive in a component directive which inherits it's ngModel via replacement, if that directive has an isolate scope...
The text was updated successfully, but these errors were encountered: