Skip to content
This repository has been archived by the owner on Jul 16, 2022. It is now read-only.

set_date should override default_date #209

Open
multiwebinc opened this issue Nov 28, 2018 · 0 comments
Open

set_date should override default_date #209

multiwebinc opened this issue Nov 28, 2018 · 0 comments
Labels

Comments

@multiwebinc
Copy link
Contributor

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.

@nazar-pc nazar-pc added the bug label Dec 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants