Make DateFormField and DaytimeFormField work in mobile devices