Angular2* - OpenSource Projects

Components

https://github.com/valor-software/ngx-bootstrap

https://www.primefaces.org/primeng/#/
https://github.com/primefaces/primeng

https://ng-bootstrap.github.io/#/home

https://github.com/angular-ui/bootstrap

https://github.com/vmware/clarity
https://clarity.design/

Projects

PrimeNG

https://www.primefaces.org/primeng/#/checkbox

Model Driven Forms Checkbox can be used in a model driven form as well. In this case, due to an issue in Angular bind the formControl instance instead of using formControlName.

1
2
3
4
5
6
<!-- Wrong -->
<p-checkbox formControlName="chk"></p-checkbox>

<!-- Correct -->
<p-checkbox [formControl]="myForm.controls['chk']" binary="true"></p-checkbox>
<p-checkbox [formControl]="chkControl" binary="true"></p-checkbox>
1
2
3
4
5
get chkControl() { return this.myForm.get('chk'); }

this.myForm = this.fb.group({
chk: this.fb.control(false, []),
});

NgSelect

Share