feat(date-range-picker): allow disabling one half of the range input
- Lingua principale
- TypeScript
- Stelle
- 25k
- Fork
- 6.8k
- Merge medio
- 1g 8h
- PR unite (30g)
- 91
Descrizione
#### 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.
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo il comportamento nell'esempio StackBlitz collegato, concentrandoti su src/app/date-range-picker-forms-example.html e sul punto di ingresso di date-range-picker. Traccia in che modo la disabilitazione di uno dei due input di data influisce sulla selezione dell'altro, quindi verifica che una data di inizio o di fine fissa consenta comunque di selezionare il valore rimanente.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- angular, typescript
- Ambito
- frontend
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100