angular / angular/components

feat-bug(aria/combobox-listbox): listbox `[multi]="true"` works only for combobox `readonly` true

Đang mở
#32,659 8 bình luận 1 reaction 1 người được giao Được @ok7sai nhận Xem trên GitHub
area: aria/combobox area: aria/listbox P3
Ngôn ngữ chính
TypeScript
Star
25k
Fork
6.8k
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
91

Mô tả

### Feature Description

If listbox's `multi=true` and combobox's `readonly=false` we can select only one item. We can only type first letters of countries. And select only one country. We can't use even standard `, ` separator.

If listbox's multi=true and combobox's readonly=true we can open combobox/listbox and select multiple items.

See live: [stackblitz](https://stackblitz.com/edit/stackblitz-starters-28c5sjlj?file=src%2Fcombobox%2Fcombobox.html,src%2Fmain.ts)

### Use Case

It's useful for multiselect, autocomplete

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.