PickMeUp icon indicating copy to clipboard operation
PickMeUp copied to clipboard

set_date should override default_date

Open multiwebinc opened this issue 7 years ago • 0 comments

If the default_date option is set to false, when calling pickmeup('.date').set_date(date); it is impossible to actually set the date of the element programatically. set_date() should change default_date for that element to true, so that the date will be displayed in the <input> element. Either that or provide a set_option() function to change any of the options. The only way I've found around this is to destroy and re-create the datepicker with that option set to true.

multiwebinc avatar Nov 28 '18 23:11 multiwebinc