feat(COMPONENT): Add "disabledInteractive" input to "mat-chip-option"
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
### 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.
コントリビューションガイド
調査の方向性
まず、issue でリンクされている mat-chip-option コンポーネントと mat-button disabledInteractive API を確認します。無効化されたチップとツールチップが現在どのように動作するかを追跡し、そのうえで、要求された入力によってチップを無効化したまま説明用のツールチップを表示できることを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- frontend
- issue の種類
- 機能追加
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100