-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
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
Autofill in Safari does not work #1519
Comments
I don't think Safari is triggering a change event when you auto fill. This is probably out of scope for Livewire to deal with. Maybe this thread will provide some guidance. |
There is already a thread about this #1081 maybe check there to see if that solves the issue. |
Hey, @redbastie please post a domain-free code example that's easy to copy and paste to reproduce your issue. Thanks! |
Open up Safari. Go here: https://laravelplayground.com/#/snippets/350d5f68-ab64-492f-a599-76f924a18278 Enter any an email & password, then click "login". You will see the dump of the When Safari prompts, choose to remember the email & password to your keychain. Now refresh the page and then focus the email input, have Safari autofill the fields, then click "login". You will see the This is a problem because Safari has a 17% market share and it is growing by the day: https://www.w3counter.com/globalstats.php |
OK check this out, this works:
I'm using jQuery but I'm sure it can be translated into vanilla JS or whatever. All we have to do is add |
This is an issue especially in mobile safari (iOS), was really hoping v2 would've fixed this glaring issue...! |
Looks like someone might have found a solution for this #1661 |
Yeah, me :P |
PR that fixes the bug with IE11 support: #1696 |
Safari autofill should be fixed in 2.2.8 Please run php artisan view:clear, update Livewire, and report here if the problem is fixed, otherwise, re-submit please. Thanks everyone! |
Still present in 2.3.18 |
Still present in 2.4 |
I can confirm that it's still present in 2.4.3 as well |
I'm also running into this using the latest Livewire version. |
I'm also running into this problem, bump! Edit; Just because it can seem like people come to you with more problems (issues) than compliments & I feel that I need to balance that out a bit with my bump - thank you so much for the package Caleb :) |
Thanks @Liamso , very encouraging to hear! |
Upgrading to 2.4.4 and running |
@Liamso, not sure if you're talking about this exact issue. |
I'm having an issue where it doesn't fill multiple autofill fields (filling in a full address for example), but it does work on single 1 to 1 autofill fields. Example: Not working: Saved address: 123 main st new york ny Fields: When selecting the address from the autofill, it flashes and removes the values. |
I had the same issue with autofill and a workaround I found was replacing |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Using autofill in Safari does not update the models in the component.
It fills out the form, sure, but Livewire fails to pick up the values.
The text was updated successfully, but these errors were encountered: