-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
rating component does not support reactive forms (requires ngModel) #959
Comments
here is an example of how the components should be supported: |
The following ng2-bootstrap components use the ngModel selector binding:
|
What do you mean with
Is the solution to use ngControl binding instead of ngModel binding? |
if you look at the component, it uses ngModel, but reactive forms do not use ngModel, thus the directive does not bind to the component element. |
fixed with #298 |
rating component does not support reactive forms (requires ngModel)
please change selector to <rating instead of [ngModel]
It implements ControlValueAccessor, but never provides NG_VALUE_ACCESSOR so that implementation is useless.
tx
Sean
Angular 2 Kitchen sink: http://ng2.javascriptninja.io
and source@ https://github.com/born2net/ng2Boilerplate
The text was updated successfully, but these errors were encountered: