In Safari browser, the password shortcut appears above the show and hide password icon

This commit is contained in:
merve karaman 2024-07-19 13:04:46 +03:00 committed by GitHub
parent a18e4f26df
commit 548e5e238e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -1,6 +1,7 @@
<div x-data="{ showPassword: false, password: '' }" x-cloak>
<input
type="password"
x-bind:class="password ? 'pr-9' : 'pr-0'"
x-bind:type="showPassword ? 'text' : 'password'"
x-model="password"
name="{{ $name }}"