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

Reinit picker after stop()?

Open trendoman opened this issue 8 years ago • 1 comments

Learning by the docs, I couldn't reenable picker with following code:

<input type="text" id="d">
$(document).ready(function(){
    $('#d').pickadate({});
    var picker = $('#d').pickadate('picker');
    picker.stop();
    picker.start();
});

Picker goes into readonly mode, however it is still possible to set date and following returns true:

console.log( picker.get('start') );

trendoman avatar Dec 11 '16 22:12 trendoman

+1

parthdevloper avatar Jun 13 '20 15:06 parthdevloper