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

Update Hidden Custom Attribute In Element #12

Open
benlbit opened this issue Jan 12, 2023 · 0 comments
Open

Update Hidden Custom Attribute In Element #12

benlbit opened this issue Jan 12, 2023 · 0 comments

Comments

@benlbit
Copy link

benlbit commented Jan 12, 2023

I am trying to update an attribute attached to the element triggering the DateRangePicker.

e.g.

I am trying to update the attribute(s) within the callback function

function (start, end) {
this.element.hstartvalue = start.format();
this.element.hendvalue = end.format();
}

Problem is the DOM isn't being updated by the callback.

Is there a proper way to access the element of which the DateRangePicker is attached?

I need the callback function to specifically update the node because I have a large number of DateRangePickers attached to a large number of text inputs contained in a list.

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