DateTimePicker
DateTimePicker copied to clipboard
Enable writing to input
Hello,
I am trying found some solution which enable me write to input from keyboard. I didn`t found anything in API, is existing some solution ?
PS: I removed "readonly" from input but when I begin write to the input the DateTimePicker disappear.
Sorry for my English and Thanks for advice.
I'm experiencing the same issue.
This can be achieved commenting code Line 1449 to Line 1455.
$(document).on("keydown.DateTimePicker", function(e)
{
if(! $('.dtpicker-compValue').is(':focus') && parseInt(e.keyCode ? e.keyCode : e.which) !== 9)
{
oDTP._hidePicker("");
}
});
But you will have to validate input value separately if you allow such input.