Closed namolnad closed 3 months ago
@aboveyunhai I just wanted to check in on this to see if you had thoughts about this PR and whether it may be worth moving forward. Thanks!
@aboveyunhai I just wanted to check in on this to see if you had thoughts about this PR and whether it may be worth moving forward. Thanks!
I think it's fine. I will just merge it and see if ppl complaint about it, if so then turn into optional or something.
As part of #76, this PR proposes to allow the selectedBtnProps even if a given dayOfMonth is disabled (e.g. being below minDate). The element remains disabled, both functionally and visually, yet allows the component to indicate that there is indeed a selected date (and/or likely range) that exists outside of the currently selectable/valid range. An example of what this looks like is shown here:
I'd imagine this is closer to expected behavior, so don't think it's necessarily required to add additional props to allow this behavior sometimes, but am certainly open to that if you disagree.
Thanks for considering!