Skip to main content
Topic solved
This topic has been marked as solved and requires no further attention.
Topic: Time picker (Read 341 times) previous topic - next topic

Time picker

Please, what component is used for Time picker on Inline edit (List or View page), field defined as Time on Add/Edit page. 
Is it flatpickr? Where are default properties defined? I need to change it to 24hr format  but I have no luck for hours now.

Many thanks in advance!

Re: Time picker

Reply #1
@pivar‍ locate {project root}\assets\js\plugins-init.js in your project, open it with an editor, and search for $('.datepicker').flatpickr({ the line where you find it is the line where the plugin is initialized.

Re: Time picker

Reply #2
Hi! Many thanks but it seems this is not component/function used for inline Time picker. I have attached screenshots and it can be seen that no element has $('.datepicker') class and this is not triggered when one clicks on Time field to enter/edit time....
Please if you could further check what component this is...

https://www.dropbox.com/s/8diwaut3zxmcc8z/timepicker1.jpg

https://www.dropbox.com/s/rd2gmgwbbxe54dv/timepicker2.jpg




Re: Time picker

Reply #4
Thank you very much!