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

ng-required="true" shows as an error on load of pristine form #9

Open
rkoberg opened this issue Jul 19, 2014 · 1 comment
Open

ng-required="true" shows as an error on load of pristine form #9

rkoberg opened this issue Jul 19, 2014 · 1 comment

Comments

@rkoberg
Copy link

rkoberg commented Jul 19, 2014

If I put ng-required="true" on a selectpicker select it is $invalid: true, $pristine: false, and $modelValue: undefined

Without the ng-required, the $modelValue: null (and, of course, no error on load)

I am working around this with custom validation, but was wondering if this is a known issue or fact of life.

joaoneto added a commit that referenced this issue Aug 3, 2014
@joaoneto
Copy link
Owner

joaoneto commented Aug 3, 2014

Hello @rkoberg
I just pushed a new tag, this probably resolves

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