Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Can't modify options using api syntax #121

Open
owlyowl opened this issue Apr 6, 2015 · 1 comment
Open

Can't modify options using api syntax #121

owlyowl opened this issue Apr 6, 2015 · 1 comment

Comments

@owlyowl
Copy link

owlyowl commented Apr 6, 2015

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?

@erikbaan
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants