I've submitted a PR with details, but I found that setting files to null crashed my app because of the unhandled exception this addresses. PullRequest: https://github.com/shuyu/angular-material-fileinput/pull/69