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

the schema-form-file decorator ng-messages section is broken #19

Open
krptodr opened this issue Feb 28, 2017 · 0 comments
Open

the schema-form-file decorator ng-messages section is broken #19

krptodr opened this issue Feb 28, 2017 · 0 comments

Comments

@krptodr
Copy link

krptodr commented Feb 28, 2017

You can't properly get the error for picFile because ng-file-upload removes the failed validations from the model before its returned to your scope.selectFile or scope.selectFiles functions. ng-messages detects an issue and will display the proper element for the proper validation error, but the messages details are empty because picFile is undefined or otherwise empty.

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

1 participant