angular / angular/components

@angular/material 19: Datepicker integrated with Timepicker should not reset the time

Ouverte
#30,181 8 commentaires 8 réactions 0 personnes assignées Voir sur GitHub
area: material/datepicker P3
Langage dominant
TypeScript
Étoiles
25k
Forks
6.8k
Merge moyen
1 j 8 h
PR mergées (30 j)
91

Description

### Which @angular/* package(s) are the source of the bug?

@angular/material

### Is this a regression?

Yes

### Description

Can be reproduced in the v19 example: https://material.angular.io/components/timepicker/examples#timepicker-datepicker-integration

Steps:
1) use datepicker to select date
2) use timepicker to select time
3) change date - either via picker or type

Expected Result:
Time portion of the value should not change

Actual Result:
Time portion resets to 00:00

### Please provide a link to a minimal reproduction of the bug

https://material.angular.io/components/timepicker/examples#timepicker-datepicker-integration

### Please provide the exception or error you saw

```true

```

### Please provide the environment you discovered this bug in (run `ng version`)

```true
"@angular/material": "19.0.3",
```

### Anything else?

_No response_

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Commencez par l’exemple d’intégration de v19 Datepicker et Timepicker lié dans l’issue et reproduisez la réinitialisation après avoir changé la date. Suivez ensuite la gestion de la valeur pour cette intégration, puis vérifiez que le changement de date conserve l’heure précédemment sélectionnée au lieu de rétablir 00:00.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
angular, typescript
Domaine
frontend
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
Calme
Clarté
Plutôt claire
Accessibilité débutants
55/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.