jtsage/jquery-mobile-datebox — Issue #149: Android 2.3 phones attempt to dial if inactive date is selected
Author: chrisboylan
Created: 2012-01-17 22:22:21+00:00
State: open

Reproduced on a few Android 2.3 phones. Cannot be reproduced on Android 2.2 or iPhone.

If you set afterToday to true, and then try to select a date prior to today - Android will attempt to dial a phone number made up of the date you selected and the next few days.

This actually seems to happen for inactive days of any kind. Verified on the demo site: http://dev.jtsage.com/jQM-DateBox/demos/calendar/limit.html

1. Using an Android 2.3 phone,
2. Select the datebox on the first input field.
3. Touch a date that is inactive.

Expected behavior: Nothing happens

Actual behavior: if you select the 9th and it is inactive, the dialer pops up with a phone number of "910-1112". If you select the 2nd, the dialer pops up with a phone number of "234-5678"

We've had to allow for users of Android phones to select dates prior to today and then validate after the fact.