-
Notifications
You must be signed in to change notification settings - Fork 29.8k
Description
We are implementing the new text input date picker for Material design which just uses a text input field for the user to enter the date. We set the keyboardType parameter on the TextField to TextInputType.datetime to bring up a keyboard appropriate for entering a date. On Android this works well. On iOS however, it just brings up the default keyboard. This works, but it requires the user to switch to numeric mode on the default keyboard to enter the date.
From the iOS docs, it looks like they support a default keyboard that comes up in numeric mode: UIKeyboardType.numbersAndPunctuation. Can we switch the Flutter implementation of TextInputType.datetime to use this on iOS? This would seem to be a closer match and give the user a better experience.