feat(COMPONENT): Add "disabledInteractive" input to "mat-chip-option"
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
### 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.
Beitragsleitfaden
Rechercherichtung
Beginne mit der Überprüfung der mat-chip-option-Komponente und der im Issue verlinkten mat-button disabledInteractive API. Verfolge, wie sich deaktivierte Chips und Tooltips derzeit verhalten, und überprüfe anschließend, dass die angeforderte Eingabe einen erklärenden Tooltip ermöglicht, während der Chip deaktiviert bleibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- frontend
- Issue-Typ
- Feature
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100