feat(COMPONENT): Add "disabledInteractive" input to "mat-chip-option"
- 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
I want to be able to set "disabledInteractive" on `mat-chip-option` similarly to how the `mat-button` component allows tooltips for disabled buttons when "disabledInteractive" is passed as an input.
See `disabledInteractive` in https://material.angular.io/components/button/api
### Use Case
I find myself dynamically disabling chips, and it'd be nice to be able to explain to users why a chip option is disabled with a tooltip instead of having to place the error somewhere else in the DOM or use some element-wrapping workaround.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu bằng cách xem xét component mat-chip-option và API disabledInteractive của mat-button được liên kết trong issue. Theo dõi cách các chip bị vô hiệu hóa và tooltip hiện đang hoạt động, sau đó xác minh rằng input được yêu cầu cho phép hiển thị tooltip giải thích trong khi chip vẫn bị vô hiệu hóa.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- angular, typescript
- Lĩnh vực
- frontend
- Loại issue
- Tính năng
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 45/100