How to add button to Datetimepicker?

Hello,
I have a datetimepicker added to one of my forms and I am looking to add a button to click when I am done selecting date and time.
The default datetimepicker lets us select the date and time and then we have to click away to be able to update the input, also there is an option to close it automatically after date and time selection, but what I need is to add a button to update the input and close the picker.
Please let me know is it possible to do so?

Thank you
image.png
Was this page helpful?