Topic: date-picker properties not working in JQuery version
hightech free asked 5 years ago
I want to translate buttons and formate the date of Date-Picker but the custom js not working for me and show the default setting.
HTML==>
<div class="md-form">
<input dir="rtl" placeholder="التاريخ المحدد" type="text" id="date-picker-exchange" class="form-control datepicker">
</div>
js code==>
$('#date-picker-exchange').pickadate({
today: 'اليوم',
clear: 'اختيار واضح',
close: 'إلغاء',
formatSubmit: 'yyyy/mm/dd'
});
MDBootstrap staff answered 5 years ago
Hi hightech,
I prepared working example in the snippet for you: https://mdbootstrap.com/snippets/jquery/pjoter-2-0/1232643
If you need additional help I am here for you.
Best Regards, Piotr
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.8.9
- Device: laptop
- Browser: chrome
- OS: windows
- Provided sample code: No
- Provided link: No