Skip to content

How to set and get values examples? #2562

Closed Answered by Eonasdan
basharald asked this question in Q&A
Discussion options

You must be logged in to vote

You need picker.dates.setValue(new tempusDominus.DateTime())

https://getdatepicker.com/6/functions.html#datesSet

There's also dates.setFromInput and dates.parseInput. parseInput returns a DateTime object.

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@basharald
Comment options

Comment options

You must be logged in to vote
1 reply
@basharald
Comment options

Answer selected by basharald
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants
Converted from issue

This discussion was converted from issue #2561 on May 09, 2022 19:11.