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?
ppillai free asked 4 years ago
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
Opened
Specification of the issue
- ForumUser: 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
Grzegorz Bujański staff commented 4 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 free commented 4 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 4 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 free 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 free 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?