Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get current instance to manipulate it #101

Open
RezaSR opened this issue Oct 19, 2020 · 0 comments
Open

Can't get current instance to manipulate it #101

RezaSR opened this issue Oct 19, 2020 · 0 comments

Comments

@RezaSR
Copy link

RezaSR commented Oct 19, 2020

Expected Behavior

var pd = $('.selector').persianDatepicker();
should get instance of current persianDatepicker();

Current Behavior

Rerender persianDatepicker with default options, for example format will change to LLLL

Possible Solution

Context

I want to select date of a persianDatepicker instance to a specific date on the fly

Your Environment

Firefox

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

No branches or pull requests

1 participant