I want to disable keyboard popping up on mobile when opening the datetimepicker.
The first issue is that initializing the datepicker overrides the readonly attribute of the input field. That means you have to set it after initializing datetimepicker (example of the issue: https://jsfiddle.net/q85tcf60/3/)
I was able to get around this with the following code:
The issue is, that this way you cannot select a new value for the field. The datetimepicker opens up, but nothing is clickable and you cannot select a different time or date.
I want to disable keyboard popping up on mobile when opening the datetimepicker.
The first issue is that initializing the datepicker overrides the readonly attribute of the input field. That means you have to set it after initializing datetimepicker (example of the issue: https://jsfiddle.net/q85tcf60/3/)
I was able to get around this with the following code:
HTML:
The issue is, that this way you cannot select a new value for the field. The datetimepicker opens up, but nothing is clickable and you cannot select a different time or date.
JsFiddle example: https://jsfiddle.net/q85tcf60/2/
EDIT: Tested this functionality with datetimepicker 4.15.35 and it seems to be working fine.