Closed temp3l closed 10 years ago
I could workaround this by using: removeAttr("readonly") and change the input field to: maxlength=4, type=number (its a time in my case )
but it doesn't feel good ...
fwiw, you can use lockInput: false to remove the readonly bit. Sorry to say, I understand exactally what you are talking about, but this is really a browser / end user UI issue - not much I'll be able to do about it on the script end.
Thanks for the feedback though
how to reproduce: (Chrome/IE/FF) goto http://dev.jtsage.com/jQM-DateBox2/ and pick a date in one of the input-fields.
Now when you select this date by mouse (like for copy paste) and you start pressing the mouse button on the very right side of the input field AND release it far left of the input field - the dateBox-Popup does not show up! - but the date is selected! (you could now use CTRL+C to copy it )
-So some users get the impression of beeing able to type in their date directly.
Main Problem: My customers try use the "Backspace"-key to remove some dates! As the input field is readonly, the Backspace key triggers "history.back" in many of the browsers. -and all their settings are gone ;(
It looks like the popup is started on mouse-release event (But Only if mouse is over the input field).
Do you have any suggestions on how to handle/fix/workaround this issue? Thanks in advance! Stephan