-
Notifications
You must be signed in to change notification settings - Fork 423
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Proposal] Autofill Hints #373
Comments
Thanks @coen22! This sounds like a cool new feature that would be useful for .NET MAUI devs! There are two changes I'd like to make to this Proposal:
Use
|
@brminnick thank you for your feedback. I'll create a discussion. |
@coen22 can you link the discussion if you created it ? Thx |
Here you go In your XAML just add Entry.Behaviours |
I wrote a little blog post showing how you can get OTP working on iOS: |
Autofill Hints
Summary
I would like to request to add autofill to MCT. Autofill is common in HTML, where the browsers remembers a user's details and fills them in. This is also possible on the OS level in Android, iOS and (I think also) macOS.
Motivation
It's nice for users to log in with a tap on their screen and it makes it easier to sign up for within an app.
Detailed Design
I've included the implementation that I have in Xamarin Forms.
The namespaces have already been renamed.
This is the API class.
The Android class:
The iOS (and similarly macOS) class:
Usage Syntax
XAML Usage
Drawbacks
Currently the Android C# wrapper has limited support.
The View class doesn't have all strings (e.g. AUTOFILL_HINT_PERSON_NAME_GIVEN), but they can be added manually.
https://developer.android.com/guide/topics/text/autofill-optimize
Alternatives
N/A
Unresolved Questions
What is the 'correct' way of implementing this in MAUI? (now it's XF Compat)
Does Windows have something similar to Autofill?
The text was updated successfully, but these errors were encountered: