feat(date-range-picker): allow disabling one half of the range input
- Langage dominant
- TypeScript
- Étoiles
- 25k
- Forks
- 6.8k
- Merge moyen
- 1 j 8 h
- PR mergées (30 j)
- 91
Description
#### Feature Description
The user should be able to disable one half of the date range input (either the start or end date) but still allow a user to select a value for the other. Currently the date range picker acts broken if we try to disable one half: https://stackblitz.com/edit/angular-aihygj?file=src/app/date-range-picker-forms-example.html
#### Use Case
This supports use cases where the user needs to select a range, but the start or end date is fixed for some reason, e.g. editing a hotel reservation where its too late to change the check in date.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
Commencez par reproduire le comportement dans l’exemple StackBlitz lié, en vous concentrant sur src/app/date-range-picker-forms-example.html et sur le point d’entrée de date-range-picker. Suivez l’impact de la désactivation de l’un ou l’autre des deux champs de date sur la sélection de l’autre, puis vérifiez qu’une date de début ou de fin fixe permet toujours de sélectionner la valeur restante.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- angular, typescript
- Domaine
- frontend
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- À l'abandon
- Clarté
- Plutôt claire
- Accessibilité débutants
- 35/100