Disable autocomplete for password fields
This commit is contained in:
parent
7734d6ef82
commit
b08df4d1df
|
@ -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