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
I spent the better part of the afternoon trying to figure out why the datetime picker wouldn't update when I updated the value of the datetime picker outside of the onChange event of the picker. Turns out I had maxDate prop and I was not updating the maxDate prop when I updated the value.
I even went so far as to code up a repl.it so I could create an issue in this repo and share a code example in the issue Link.
DOH!
Just wanted to share my blunder. Thanks for the datetime picker!
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I spent the better part of the afternoon trying to figure out why the datetime picker wouldn't update when I updated the value of the datetime picker outside of the onChange event of the picker. Turns out I had maxDate prop and I was not updating the maxDate prop when I updated the value.
I even went so far as to code up a repl.it so I could create an issue in this repo and share a code example in the issue Link.
DOH!
Just wanted to share my blunder. Thanks for the datetime picker!
Beta Was this translation helpful? Give feedback.
All reactions