livewire: Microsoft Edge Autofill Error AutoFill_FillEvent

Description

When doing autofill on Microsoft Edge, the inputs are updating with the proper value then flashing to ‘AutoFill_FillEvent’. It only seems to be happening on Microsoft Edge Broken

Steps to reproduce

<input type="text" autocomplete="family-name lname" name="lname" wire:model.lazy="a.lname" class="@error('a.lname') error @enderror" />

Context

  • Livewire version: Current
  • Laravel version: Current
  • Browser: Microsoft Edge

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Reactions: 1
  • Comments: 25 (4 by maintainers)

Most upvoted comments

It seem’s to be an issue with old MS Edge not the Chromium version from my tests.

@jjjrmy I don’t think we can have autocomplete="family-name lname" as a value for autocomplete. Autocomplete accepts only on or off value. Am I missing something here?

Yes, actually you have a ton of accepted values for the autocomplete field. Check it here: https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#autofill-field

@jjjrmy Is it the new (chromium-based) or old MS Edge?