-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
date knob calendar fails to select different date #804
Comments
Comment by gthomas-appfolio I think the issue is the same as #68 , the date knob passes a timestamp (a number), not a Date object |
Comment by tko Other than being broken internally I don't think the return type matters here, e.g. <span>{date('date')}</span> shows how |
Comment by tko Interestingly, if I pass in a default value that is a global variable the date picker seems to work. But creating it on the fly, i.e. |
Comment by tko On further thought given the implementation details of KnobManager the calling convention To support a default value of "now" (with or without some relative +/- time) I think |
Issue by FredyC
Tuesday Jan 24, 2017 at 19:58 GMT
Originally opened as storybook-eol/storybook-addon-knobs#84
It's very strange. I can click on any date in the calendar, it gets highlighted shortly, even date in the input updates, but then it gets reverted back to today date. Not even time can be changed.
The text was updated successfully, but these errors were encountered: