Closed mmuenker closed 3 years ago
It would be great if ngx-color would support for the value accessor concept of angular forms.
This would allow a simpler integration into a form.
<color-block [(ngModel)]="widget.color"></color-block>
<color-block formControlName="color"></color-block>
If I find some time in the next few days I will make a pull request with these changes.
this is supported now right?
yes in version 7.2.0 this is supported.
https://stackblitz.com/edit/angular-ngx-color-value-accessor-demo?file=src/app/app.component.html
It would be great if ngx-color would support for the value accessor concept of angular forms.
This would allow a simpler integration into a form.
If I find some time in the next few days I will make a pull request with these changes.