We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If the user klicks on the icon datepicker is shown. A next klick on it keeps the shown status. It would be better to close it (toggle status).
The text was updated successfully, but these errors were encountered:
👍
Sorry, something went wrong.
I had the same problem and in the end solved this way. You can toggle it with following hack.
$(".datepicker").datepicker({ autoclose:true }).on("click",function(e){ if($(this).hasClass("close")){ $(this).removeClass("close").addClass("open"); }else{ $(this).removeClass("open").addClass("close"); $(this).datepicker("hide"); } }).on("changeDate",function(e){ $(this).removeClass("open").addClass("close"); }).on("hide",function(e){ $(this).removeClass("open").addClass("close"); });
@ozgrozer Thank you for your hack. I will try it. Are the events "changeDate" and "hide" necessary? They should be covered by DP already.
No branches or pull requests
If the user klicks on the icon datepicker is shown. A next klick on it keeps the shown status. It would be better to close it (toggle status).
The text was updated successfully, but these errors were encountered: