Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Set value of date picker #723

Unanswered
toomanylogins asked this question in Q&A
Discussion options

Hello I am a pro user. How do you update the date of the date picker via js ? ie not on click but on change from another input event handler ? For example for picker with ID using jquery $('#dueDate').attr('coreui-date', 'newdate') ? This sets the attribute but not updated

I tried the support email form but I keep getting mail server error from you website. See image below.

image

Thanks
Paul

You must be logged in to vote

Replies: 1 comment

Comment options

For reference I have this working as follows

const dueDate = document.getElementById('dueDate') coreui.DatePicker.getInstance(dueDate).update()

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
1 participant
Morty Proxy This is a proxified and sanitized view of the page, visit original site.