Home › Forums › Porto Admin Template › datepicker not working properly
This topic contains 4 replies, has 2 voices, and was last updated by Support2 11 months, 1 week ago. This post has been viewed 388 times
As topic above I got huge problems using datepicker.
Cannot change language and dateformat. It’s like theme.js is blocking something ……
This is my code snippet ….
$('#StartDate').datepicker('option', 'dateFormat', 'yy-mm-dd');
What I am doing wrong? What I have to delete in theme.init.js ????
Please follow the steps below:
<input id="StartDate" type="text" class="form-control" value="17-11-14">
2) Add the script for “IT” language, like the image below:
Please, try that and let me know if you need further assistance.
It worked but I cannot “block” past days.
I’ve read doc and it should work …… What Am i doing wrong ?
Great that resolved your issue 🙂
If you need further assistance, please contact us.