DatePickerRrange accepts start_date which is less then min_date_allowed
Open
Nobody has claimed this yet.
bug
P3
- Dominant language
- Python
- Stars
- 24.4k
- Forks
- 2.3k
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 13
Description
The following datepicker range will accept start_date although it is less then min_date_allowed.
dcc.DatePickerRange(
id='picker-range',
min_date_allowed=date(2023, 8, 1),
start_date=date(2023, 7, 1),
)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the DatePickerRange component and reproduce the provided configuration with min_date_allowed set to August 1, 2023 and start_date set to July 1, 2023. Trace the date validation behavior and add or update the relevant test if one is found. Done means a start_date earlier than min_date_allowed is rejected or handled according to the component's expected validation behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100