PickMeUp
PickMeUp copied to clipboard
set_date should override default_date
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.