Skip to content

Possiblity to disable & enable the timepicker in the datetimepicker #87

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

Closed
wants to merge 1 commit into from

Conversation

wallenium
Copy link

I wanted to use this in the edit window for the "fullcalendar" jquery plugin. If a user checks the checkbox "allday", the time & the timepicker should be hidden, if unchecked it should be shown again.

its a quick & dirty fix, no idea if its as stable as it should be, but i think such a feature is a nice to have and should be included in the core.

Demo: http://kompsoft.de/test/jquery/datepicker/index.html

…eld, p.e. for an allday event in a calendar event edit
@trentrichardson
Copy link
Owner

Thank you for your contribution!

I added your changes to my dev branch.

@arzenigh
Copy link

I use datetimepicker in my project and i try to enable/disable timepicker. I searched and found this. But I cannot use $.datepicker._disableTimepickerDatepicker. What is 'target' I should pass to this method? Is it an id of text input or jquery text input object ?

ps I tried to open your demo link but it broke

This pull request was closed.
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

Successfully merging this pull request may close these issues.

3 participants