angular / angular/components

feat(Material Select): Support for readonly attribute in Material Select component

オープン
#22,740 コメント 5 件 リアクション 1 件 担当者 0 名 GitHub で見る
area: material/select feature need a11y consult P3
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

#### Feature Description
It should be possible to use a **readonly** property similar to have disabled is used with mat-select (Material Select component)

#### Use Case
When re-submitting a form where some select field should not be editable but resent. Property disabled will in this case simple remove selected value from form.

**This is an example that show how it would be used and how it works now:**
https://stackblitz.com/edit/angular-fj6kyz?file=src/app/select-overview-example.html

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Angular Material Select コンポーネントから始め、リンクされた StackBlitz の例の動作を再現します。編集を防止しつつ、再送信されたフォームから選択された値が削除されない readonly 状態を実装し、その後、フォームの動作と既存の Select の動作が正しいままであることを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
angular, typescript
領域
frontend
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

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

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