Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when ngf-keep is used. #1078

Closed
joshikeerti opened this issue Oct 20, 2015 · 1 comment
Closed

error when ngf-keep is used. #1078

joshikeerti opened this issue Oct 20, 2015 · 1 comment

Comments

@joshikeerti
Copy link

I have the latest version of the library and I am trying to use ngf-keep="'distinct'", I am geting an error
Uncaught TypeError: Cannot read property 'length' of null

I went into the code and found that the error is in model.js file. It is getting the prevFiles length as null.

function handleKeep(files, prevFiles, attr, scope) {
var len = prevFiles.length;
}

@danialfarid
Copy link
Owner

Fixed at 9.0.19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants