angular / angular/components

feat(material/slider): allow slider thumbs to have independent min & max values

オープン
#27,290 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
feature needs: discussion P4
主要言語
TypeScript
スター
25k
フォーク
6.8k
平均マージ
1日 8時間
マージ済み PR(30日)
91

説明

### Is this a regression?

- [ ] Yes, this behavior used to work in the previous version

### The previous version in which this bug was not present was

_No response_

### Description

I would like to set a max possible value per thumb of the mat range slider

### Reproduction

StackBlitz link: https://stackblitz.com/edit/a7wg4u?file=src%2Fexample%2Fslider-range-example.html
Steps to reproduce:
1. Set max and min for matSliderThumbs
2. See that the individual maxs and mins do not apply

### Expected Behavior

max and min on each input would be applied.

### Actual Behavior

max and min on the input elements is not applied

### Environment

- Angular:
- CDK/Material:
- Browser(s):
- Operating System (e.g. Windows, macOS, Ubuntu):

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

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

調査の方向性

StackBlitz の再現とその src/example/slider-range-example.html ファイルから始め、matSliderThumbs が各 thumb の min および max 入力をどのように処理するかを確認します。個々の min 値と max 値が独立して適用され、再現でそれらが無視されていることが示されなくなれば完了です。

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

評価

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

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

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