pickadate.js icon indicating copy to clipboard operation
pickadate.js copied to clipboard

Not Able To Set Current Date By Default in the Text Box Using Pickadate

Open akkiyash opened this issue 7 years ago • 2 comments

Iam not able to set the current date by default in the textbox using pickadate.. Can anyone please explain how to do it.

akkiyash avatar Sep 15 '17 13:09 akkiyash

Read the docs: http://amsul.ca/pickadate.js/date/#formats_prefill

cristiammercado avatar Sep 23 '17 13:09 cristiammercado

let startDate = new Date(); let datepicker = $('.datepicker').pickadate({ format: 'mm-dd-yyyy', highlight: startDate, });

ateequrrahman97 avatar Dec 23 '21 15:12 ateequrrahman97