Topic: Trying to use date picker. After initializing with $('.datepicker').datepicker(), calendar is still not popping up. However it shows up with pickdate(). Any ideas?
Expected behavior
Actual behavior
Resources (screenshots, code snippets etc.)
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Open
Specification of the issue
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.18.0
- Device: Surface Book 2
- Browser: Chrome
- OS: Windows 10
- Provided sample code: No
- Provided link: No
Tags
Related topics
Grzegorz Bujański staff commented 5 years ago
How can I reproduce this problem, do you have any errors in the console? Did you know that the new date picker opens after clicking on the icon, not on input?
ppillai commented 5 years ago
Did you know that the new date picker opens after clicking on the icon, not on input? Yes, however the calendar icon shows as disabled.
How can I reproduce this problem, do you have any errors in the console? I can do a zoom call and screen share. Will that work?
Grzegorz Bujański staff commented 5 years ago
During the call I will not be able to debug freely what is happening with this component. Please create snippet here: https://mdbootstrap.com/snippets/ i will look at this.
ppillai commented 4 years ago
Well, the exact same html and js works in the snippet! What could I be doing wrong? On my web page the calendar still is not clickable. The cursor doesn't even turn into a clickable hand.
ppillai commented 4 years ago
More info....I am running it as part of a node.js / ejb file. When I copy the file into an html the date picker works as expected.
Grzegorz Bujański staff commented 4 years ago
Unfortunately it seems that this is a problem with the configuration of the environment. Are there any errors in the console?