Skip to content

Instantly share code, notes, and snippets.

@bzitzow
Last active May 3, 2021 02:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bzitzow/7ad61ed35a47d249d455df91e7e11374 to your computer and use it in GitHub Desktop.
Save bzitzow/7ad61ed35a47d249d455df91e7e11374 to your computer and use it in GitHub Desktop.

AutoFill Spike

Browser Support

Given that each browser does autofill and auto complete differently, identify how each of our supported browsers determines:

  • Should this input be saved for later completion
  • Should this input be auto-filled
  • Input level
  • Form level

Safari

[TBD]

Chrome

[TBD]

FIrefox

[TBD]

MS Edge

[TBD]

IE11

[TBD]

Register AutoFill with AJAX Requests

Strategies

  1. iFrame
  2. Hijack onSubmit in normal form (and event.preventDefault())
  3. Hidden Inputs to keep parity
  4. [TBD]

prototypes:

[TBD]

References

[TBD]

Populate form fields with Autofill

Strategies

  1. HTML Attributes: autocomplete, name, label
  2. Vendor Speficis (Browser Support)
  3. [TBD]

Custom Element Requirements

  1. Private DOM
  2. [TBD]

Prototypes

[TBD]

References

[TBD]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment