ui-date icon indicating copy to clipboard operation
ui-date copied to clipboard

Can't modify options using api syntax

Open owlyowl opened this issue 9 years ago • 1 comments

Hi I am having issues trying to modify my options after the control has initialised using the api like so:

datePickerElement.datepicker("option", "beforeShowDay", doSomething);

Just wondering if there's a fix/workaround for this?

owlyowl avatar Apr 06 '15 23:04 owlyowl

update the options object you are using to create the datepicker ui-date directive. Dont directly apply your changes to the element/jquery.

erikbaan avatar Sep 25 '15 13:09 erikbaan