flutter-form-builder-ecosystem / flutter_form_builder

Simple form maker for Flutter Framework
https://pub.dev/packages/flutter_form_builder
MIT License
1.48k stars 535 forks source link

Pass parameter keyboardType to material showDatePicker #1352

Closed Brunobnahorny closed 8 months ago

Brunobnahorny commented 8 months ago

Hello!

Close: #1351

We got some issues with users trying to edit the date in the material datepicker with Samsung Keyboard. \ Sadly is a well known flutter issue, \ https://github.com/flutter/flutter/issues/62401

Solution description

The material datepicker allow to choose the keyboardType. Although it's not the best user experience, we want to set the keyboardType to text. The FormBuilderDateTimePicker receives the parameter put don't pass it for the material showDatePícker.

Screenshots or Videos

image

1351

I opened the above issue to discuss the default value of FormBuilderDateTimePicker

To Do

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (ba065e5) 87.74% compared to head (7ea7743) 88.02%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1352 +/- ## ========================================== + Coverage 87.74% 88.02% +0.27% ========================================== Files 21 21 Lines 759 760 +1 ========================================== + Hits 666 669 +3 + Misses 93 91 -2 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.