|
1 | 1 | # Background |
2 | | -The WebView2 team has been asked for an API to allow end developers to set the autofill preferences. We are exposing two of the autofill preferences that will allow enabling and disabling general and password autosave. General autofill includes things like email addresses, shipping addresses, phone numbers, and names. Password autosave includes things like usernames and passwords for login. Password information is not included in the general autofill. |
| 2 | +The WebView2 team has been asked for an API to allow end developers to set the autofill preferences. We are exposing two of the autofill preferences that will allow enabling and disabling general autofill and password autosave. General autofill includes things like email addresses, shipping addresses, phone numbers, and names. Password autosave includes things like usernames and passwords for login. Password information is not included in general autofill. |
3 | 3 |
|
4 | 4 | In this document we describe the updated API. We'd appreciate your feedback. |
5 | 5 |
|
6 | 6 |
|
7 | 7 | # Description |
8 | 8 |
|
9 | | -Autofill has three components |
| 9 | +The components of autofill/autosave are as follows: |
10 | 10 | * Auto-populate - Populate the corresponding form fields automatically on page load. |
11 | 11 | * Suggest - When the user clicks on the form field, drop down suggestions of previously saved forms will be displayed. |
12 | 12 | * Populate - When clicking on one of the suggestions, the form data will populate the respective fields. |
| 13 | +* Save/Update prompt - After submitting password information, if IsPasswordAutosaveEnabled is true, a prompt will popup that allows the user to give permission to save or update their password information. |
13 | 14 |
|
14 | 15 | The general autofill setting and password autosave setting behave independently. Their behavior differs as well. |
| 16 | + |
15 | 17 | The default behavior for the general autofill setting is enabled. |
16 | 18 | The default behavior for the password autosave setting is disabled. |
17 | 19 |
|
18 | 20 | | Behavior | IsPasswordAutosaveEnabled = false | IsGeneralAutofillEnabled = false | IsPasswordAutoSaveEnabled = true | IsGeneralAutofillEnabled = true | |
19 | 21 | |-|-|-|-|-| |
20 | 22 | | Populate on accepted suggestion | Yes | No | Yes | Yes | |
21 | | -| Suggestions | Yes | No | Yes | Yes | |
22 | | -| Auto-populate | Yes | No | Yes | Yes | |
| 23 | +| Suggest | Yes | No | Yes | Yes | |
| 24 | +| Auto-populate | Yes | No | Yes | No | |
23 | 25 | | Save/Update prompt | No | N/A | Yes | N/A | |
24 | 26 | | Input saved | No | No | Yes | Yes | |
25 | 27 |
|
|
0 commit comments