You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use the 'days starting today' from the rendered UI and choose some days forward. You can see that the DateRangePicker selects the disabled dates in the future
[BUG] Expected behaviour
When maxDate is setted it was supposed not to be able to select dates after maxDate
maxDate attribute can be bypassed from end user in DateRangePicker
Selecting a date range in DateRangePicker by using the 'days starting today' option from the UI selects the disabled dates beyond the setted maxDate
[BUG] Bug Reproduce Steps
Step1) Use a DateRangePicker like this with maxDate initialized
Step2)
Use the 'days starting today' from the rendered UI and choose some days forward. You can see that the DateRangePicker selects the disabled dates in the future
[BUG] Expected behaviour
When maxDate is setted it was supposed not to be able to select dates after maxDate
Environment
Package Version: 1.4.0
React version: 18.2.0
Node version: 18.14.0
Browser: Mozila Firefox, Chrome
The text was updated successfully, but these errors were encountered: