Disable autocomplete for password fields
This commit is contained in:
parent
3ec27b6707
commit
be8d1f5ab7
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue