Skip to content
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

Multiple datepicker on page not applying "viewMode" correctly #347

Open
halexic opened this issue Jul 20, 2020 · 1 comment
Open

Multiple datepicker on page not applying "viewMode" correctly #347

halexic opened this issue Jul 20, 2020 · 1 comment

Comments

@halexic
Copy link

halexic commented Jul 20, 2020

Have two datepickers in example: JS Fiddle example

It looks like a bug, because I want first one to select only years and second one to select only date.
I applied different configuration/formats/viewModes to both but it is not working as expected.

  • When I click on first one I need to see only years selector and when I click on year it must change value in input box to the new selected year - not to go to the level bellow (months) as it is doing now.

  • When I click on calendar icon in second datetimepicker it should show me the date selector (now it shows me years selector).

Am I doing something wrong?

@halexic
Copy link
Author

halexic commented Jul 20, 2020

Ok, this guy fix the bug (second one is the same I reported). Don't know about the first one. Maybe you can include it in future version?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant