Disable autocomplete for password fields

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

View File

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