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

Can't get min-width validation error message to show up #1129

Closed
riyunoa opened this issue Nov 11, 2015 · 1 comment
Closed

Can't get min-width validation error message to show up #1129

riyunoa opened this issue Nov 11, 2015 · 1 comment

Comments

@riyunoa
Copy link

riyunoa commented Nov 11, 2015

Hi, I'm obviously doing something wrong, but I can't get the min-width validation error message to show up. I think validation is working as it doesn't bind to the model if it's too small. Please help!

I've done this:

<input type="file" ngf-select ng-model="picFile" name="file" accept="image/*" ngf-min-width="700" required>
<i ng-show="myForm.file.$error.minWidth">Width too small</i>

Fiddle here: https://jsfiddle.net/z3s5njgs/2/

@danialfarid
Copy link
Owner

That was a bug. Fixed at version 10.0.1

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