mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-21 18:00:13 +01:00
feat(inputs\multi-checkbox): add multi-checkbox directive
This commit is contained in:
parent
e63812f011
commit
70cdff101f
12 changed files with 270 additions and 94 deletions
|
|
@ -0,0 +1,10 @@
|
|||
<div class="{{baMultiCheckboxClass}}">
|
||||
<ba-checkbox *ngFor="let item of state"
|
||||
[(ngModel)]="item[propertiesMapping.model]"
|
||||
[baCheckboxClass]="getProp(item, 'baCheckboxClass')"
|
||||
[label]="getProp(item, 'label')"
|
||||
[disabled]="getProp(item, 'disabled')"
|
||||
[value]="getProp(item, 'value')"
|
||||
id="{{getProp(item, 'id')}}">
|
||||
</ba-checkbox>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue