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
Instantiate a <Datetime/> with open={undefined}, inputProps={{someProps}}, renderInput={someJsx}, specifically not specifying the input prop.
See that the input is focused and the date picker menu is open
Expected Results
That the menu starts closed when open={undefined}
Actual Results
The menu is open
Minimal Reproduction of the Problem
Couldn't seem to get the codepen to work.
Other Information (e.g. stacktraces, related issues, suggestions how to fix)
I can see the default open state is being set in DateTime#getInitialState to open: !props.input, which does not consider the open prop. I would expect the default open state to just be open: props.open
The text was updated successfully, but these errors were encountered:
I'm Submitting a ...
Steps to Reproduce
<Datetime/>
withopen={undefined}
,inputProps={{someProps}}
,renderInput={someJsx}
, specifically not specifying theinput
prop.Expected Results
That the menu starts closed when
open={undefined}
Actual Results
The menu is open
Minimal Reproduction of the Problem
Couldn't seem to get the codepen to work.
Other Information (e.g. stacktraces, related issues, suggestions how to fix)
I can see the default open state is being set in DateTime#getInitialState to
open: !props.input
, which does not consider theopen
prop. I would expect the default open state to just beopen: props.open
The text was updated successfully, but these errors were encountered: