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

changeYear and changeMonth not working with option #81

Open
viraj-nimble opened this issue Jun 17, 2017 · 1 comment
Open

changeYear and changeMonth not working with option #81

viraj-nimble opened this issue Jun 17, 2017 · 1 comment

Comments

@viraj-nimble
Copy link

Hi,

Thank you for this wonderful plugin. i have try to do a few modification but it won't work bellow is my code i want changeMonth and changeYear to be work like the same way in jquery ui datepicker but it's not working currently.
bellow is my code.
$(".text-date").daterangepicker({ dateFormat: 'MM yy',initialText: 'Start/End Date', changeMonth:true, changeYear:true });

Thank You.

@viraj-nimble
Copy link
Author

I have find a solution for one of the answer here: #6.
But it's Half done, I have three month view in picker and the option is applied for on only. Mens it change year and change month is working for 1 month view only rest 2 is still the same. Please check the screen shot.
screen shot 2017-06-17 at 2 59 00 pm

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