react-date-range
react-date-range copied to clipboard
added validation to verify if date in DateInput is between minDate and maxDate
added validation to verify if date in DateInput is between minDate and maxDate
Types of changes
What types of changes does your code introduce?
Put an x in the boxes that apply
- [X] Bugfix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
Description
In this PR:
- added verification if the typed date in DateInput is between minDate and MaxDate when editableDateInputs is set to true
- when date is not valid display a specific message error
Related Issue: 538 (https://github.com/hypeserver/react-date-range/issues/538)

This is the expected behaviour
This would be a very nice enhancement to have.
Is there any idea on when this might get looked at?
@burakcan @kamyar @mkg0 any news on this ?
@YounesZADI please see the readme.md and this isse: https://github.com/hypeserver/react-date-range/issues/590