supabase-community / flutter-auth-ui

Supabase Auth UI library for Flutter
https://supabase.com
MIT License
115 stars 60 forks source link

Add TextInputActions to email and phone sign-in forms #81

Closed pohuing closed 7 months ago

pohuing commented 8 months ago

Feature request

Is your feature request related to a problem? Please describe.

Both the email as well as the phone number form fields hint are missing TextInputAction hints. These cause phone keyboards to always show a "done" action, requiring a tap into the next field

The current behaviour, note the "enter" button on the bottom right [missing.webm](https://github.com/supabase-community/flutter-auth-ui/assets/24683548/fd0c6bba-9275-4318-ab3e-fb3eb6aab08e)

Describe the solution you'd like

Instead the keyboard should show a "next" action which on tap selects the next field in the Form.

Additional context

This is pretty clear, both Android and iOS support these in lieu of tab navigation.

The proposed behaviour, note the right arrow in place of the enter. [with actions.webm](https://github.com/supabase-community/flutter-auth-ui/assets/24683548/198f8d69-7f03-49d6-ab6c-ea2684ff799f)