Angular Material tabs -Conditionally Prevent Tab switching
オープン
area: material/tabs
feature
needs: discussion
P4
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
#### Feature Description
Right now I could not find a way to prevent the tab from switching.
#### Use Case
If you have a form inside the tab and want to let users know that they have unsaved changes in the form. If they say they want to stay on the tab and not switch I want to cancel the call to switch tabs.
Thank you
コントリビューションガイド
調査の方向性
まず Angular Material tabs の実装と、現在のタブ切り替え動作を確認します。フォームに未保存の変更がある場合に consumer が切り替えをキャンセルする方法を定義し、その後、文書化された動作のテストカバレッジを追加します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- frontend
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 停滞
- 明瞭さ
- 説明が足りない
- 初心者へのやさしさ
- 25/100