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
Hey, I got a component with two DatePickers (with time)
My idea is to set into the second picker a maxDate with the selected date on the first picker.
I tried using a state, but it seems like the second picker is not receiving the state value once I update it through the first picker onChange.
Any workarounds?
The text was updated successfully, but these errors were encountered:
Hey, I got a component with two DatePickers (with time)
My idea is to set into the second picker a
maxDate
with the selected date on the first picker.I tried using a state, but it seems like the second picker is not receiving the state value once I update it through the first picker
onChange
.Any workarounds?
The text was updated successfully, but these errors were encountered: