angular / angular/components

feat(COMPONENT): Add "disabledInteractive" input to "mat-chip-option"

オープン
#30,823 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
area: material/chips feature needs: discussion P4
主要言語
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

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。