Skip to content

Commit

Permalink
feat(legacy): MultiSelect allow checkbox on the right side (#9910)
Browse files Browse the repository at this point in the history
  • Loading branch information
waterplea authored Dec 5, 2024
1 parent 9fc9ce9 commit 8aa063b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@
*ngFor="let item of jedi"
tuiOption
type="button"
[style.flex-direction]="'row-reverse'"
[value]="item"
>
{{ item }}
<span [style.flex]="1">{{ item }}</span>
</button>
</tui-opt-group>
<tui-opt-group label="Sith">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
>
<tui-data-list-wrapper
*tuiDataList
[items]="items"
[items]="items | tuiHideSelected"
/>
</tui-multi-select>
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@
:host {
display: flex;
flex: 1;
flex-direction: inherit;
gap: 0.75rem;
align-items: center;
animation: retrigger 1s;
overflow: hidden;
}

.t-checkbox {
margin-right: 0.75rem;
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<input
tuiCheckbox
type="checkbox"
class="t-checkbox"
[checked]="selected$ | async"
[size]="size"
/>
Expand Down

0 comments on commit 8aa063b

Please sign in to comment.