feat(material/slider): allow slider thumbs to have independent min & max values
- Vorherrschende Sprache
- TypeScript
- Sterne
- 25k
- Forks
- 6.8k
- Ø Merge
- 1 T. 8 Std.
- Gemergte PRs (30 T.)
- 91
Beschreibung
### 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):
Beitragsleitfaden
Rechercherichtung
Beginne mit der StackBlitz-Reproduktion und ihrer Datei src/example/slider-range-example.html. Untersuche anschließend, wie matSliderThumbs die min- und max-Eingaben jedes Thumbs verarbeitet. Die Aufgabe ist abgeschlossen, wenn die individuellen min- und max-Werte unabhängig voneinander angewendet werden und die Reproduktion nicht mehr zeigt, dass sie ignoriert werden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- angular, typescript
- Bereich
- frontend
- Issue-Typ
- Feature
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 45/100