-
Notifications
You must be signed in to change notification settings - Fork 42
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
Option to have .is-invalid
(or custom class) applied to the form-control when form is invalid
#144
Comments
@BloodChiefStromberg Unfortunately I am too busy and can not promise to solve it in soon. But, you can make a fix and make a pull request. I'll check and release it. |
I am in a similar boat :) I'll let you know if I find the time to make the PR. Thanks again! |
I'm trying to make it, but I don't see the @input formControl, the one that I use to set the component! How the component see formControl??? |
@falco442 Check this:
It implements the interface |
Would it be possible to put a boolean on the component that apply the
.is-invalid
(or some other custom class) to the form-control element if the associated AngularFormControl
is invalid? This would allow the following bootstrap rule to apply:As is, I am left creating a style like so to replicate the above rule:
I can open an issue against the ng2-select component if you prefer -- I'm not sure if this is regularly updated from that or not :)
Thanks for the component though!
The text was updated successfully, but these errors were encountered: