feat(date-range-picker): allow disabling one half of the range input
- 主要语言
- TypeScript
- 星标
- 25k
- 派生
- 6.8k
- 平均合并
- 1 天 8 小时
- 30 天内合并 PR
- 91
描述
#### 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.
贡献指南
调研方向
首先复现链接的 StackBlitz 示例中的行为,重点关注 src/app/date-range-picker-forms-example.html 和 date-range-picker 入口点。跟踪禁用任一日期输入如何影响对另一个日期输入的选择,然后验证固定的开始日期或结束日期仍然允许选择剩余的值。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- angular, typescript
- 领域
- frontend
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100