I am trying to allow the user to remove the selected file and re-select another one. This will work fine, unless the user selects the same file as previous. Then nothing seems to happen. The on-read-file doesn't seem to get triggered if the file is the same as before. I am setting $scope.file = null; but this has no effect.
Is there something else I need to be doing to reset the file?
I am trying to allow the user to remove the selected file and re-select another one. This will work fine, unless the user selects the same file as previous. Then nothing seems to happen. The
on-read-filedoesn't seem to get triggered if the file is the same as before. I am setting$scope.file = null;but this has no effect.Is there something else I need to be doing to reset the file?