angular / angular/components

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

Abierto
#27,290 1 comentario 0 reacciones 0 asignados Ver en GitHub
feature needs: discussion P4
Lenguaje dominante
TypeScript
Estrellas
25k
Forks
6.8k
Merge medio
1 d 8 h
PR fusionados (30 d)
91

Descripción

### 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):

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

Empieza con la reproducción de StackBlitz y su archivo src/example/slider-range-example.html; después, inspecciona cómo matSliderThumbs gestiona las entradas min y max de cada thumb. La tarea está terminada cuando los valores individuales de min y max se aplican de forma independiente y la reproducción ya no muestra que se ignoran.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
angular, typescript
Área
frontend
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bastante claro
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.