1Password not filling Full Name in input field with autocomplete="name"

We have a field where we're asking for the user's Full Name. We're using the autocomplete="name" attribute on the field, as indicated by the spec, which is linked from this 1Password doc.

Using 1Password to auto-fill this field only inserts the last name, but it should insert the full name (e.g. first name and last name). First name and last name are both entered in my 1Password item as they should be.

Simplified test page: https://www.carverclimbingclub.org/temp/form-test.html

Video screen capture showing the issue: https://go.benish.io/NRJrNQN3


1Password Version: 8.10.3
Extension Version: 2.8.1
OS Version: 13.2.1
Browser:_ Chrome, Safari and Firefox

Comments

  • Hey @benish,

    I have done some testing and I found that when changing id="name-field" to id="name" I was able to get both the first and last name to fill in the field.

    Can you give this a try and let me know how you get on?

  • benish
    benish
    Community Member

    @steph.giles,

    Thanks for digging in to this. Changing that to id="name" did indeed fix it in our app. So I guess we're sorted… but, shouldn't 1Password use the autocomplete attribute for this, as per the spec? Especially when a valid autocomplete attribute exists (I could see trying to use id as a fallback).

    Also, the code example on your "Design your website to work best with 1Password" page includes that …-field syntax I was using for labels and IDs – that's where I got that from, in fact. So you might want to update that page to remove -field from that code sample, especially since it seems to break 1Password.

    Thanks for your help with this!

This discussion has been closed.