Feature request: add an option to limit the number of items user can select in multi select
- 主要言語
- TypeScript
- スター
- 25k
- フォーク
- 6.8k
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 91
説明
#### Bug, feature request, or proposal:
Feature request
#### What is the expected behavior?
In multi select, add an option to limit the number of items user can select in multi select
#### What is the current behavior?
User can select unlimited number of items in multi select
#### What is the use-case or motivation for changing an existing behavior?
It is not uncommon to see questions in surveys like: you may choose up to 3 reasons why you like our product
#### Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular Material 2.0.0-beta.8
コントリビューションガイド
調査の方向性
まず Angular Material の multi-select コンポーネントと既存のテストを見つけ、選択の変更がどのように処理されるか、またコンポーネントのオプションがどのように公開されているかを確認します。multi-select で設定可能な選択数の上限が機能し、通常の選択動作を維持したうえで、その上限をカバーするテストがあることを完了条件とします。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- angular, typescript
- 領域
- frontend
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 45/100