Disable autocomplete for password fields

This commit is contained in:
philipp lang 2024-10-18 20:59:03 +02:00
parent f693965b27
commit bf70ae3e1e
1 changed files with 1 additions and 0 deletions

View File

@ -34,6 +34,7 @@ class Text extends Component
<input <input
id="{{$id}}" id="{{$id}}"
type="{{$type}}" type="{{$type}}"
@if ($type === 'password') autocomplete="off" @endif
placeholder="" placeholder=""
class=" class="
w-full h-[var(--height)] border-gray-600 border-solid text-gray-300 bg-gray-700 leading-none rounded-lg w-full h-[var(--height)] border-gray-600 border-solid text-gray-300 bg-gray-700 leading-none rounded-lg