Skip to content

Commit

Permalink
chore(demo): Chip has interactive text label (#9513)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheKenkei authored Oct 16, 2024
1 parent 3151d05 commit 2549418
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions projects/demo/src/modules/components/chip/examples/3/index.html
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
<h3>Checkbox</h3>
<section>
<tui-chip
<label
*tuiRepeatTimes="let i of checked.length"
appearance=""
tuiChip
>
Checkbox {{ i + 1 }}
<input
Expand All @@ -11,14 +12,15 @@ <h3>Checkbox</h3>
type="checkbox"
[(ngModel)]="checked[i]"
/>
</tui-chip>
</label>
</section>

<h3>Radio</h3>
<section>
<tui-chip
<label
*tuiRepeatTimes="let i of 3"
appearance=""
tuiChip
>
Radio {{ i + 1 }}
<input
Expand All @@ -28,7 +30,7 @@ <h3>Radio</h3>
type="radio"
[value]="i"
/>
</tui-chip>
</label>
</section>

<h3>Label whiteblock</h3>
Expand Down

0 comments on commit 2549418

Please sign in to comment.