Topic: How to set time picker value programmatically?
                      
                      Jakub Strebeyko
                      staff
                        answered 7 years ago
                    
Hi there David,
Thanks for the question. Our documentation does not cover this yet, as it has a big update coming up, but the Time Picker does have an option `default` to be set up during the initialization. The option takes in a string (like 'now' or `14:30`), like so:
$('#yourtimepickerid').pickatime({
    default: '14:30'
});
With Best Regards,
Kuba
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
              Resolved
Specification of the issue
              - ForumUser: Pro
 - Premium support: No
 - Technology: General Bootstrap questions
 - MDB Version: -
 - Device: -
 - Browser: -
 - OS: -
 - Provided sample code: No
 - Provided link: No
 
Tags