Skip to content

Commit 8065da9

Browse files
committed
Refactor input fields to include autocomplete="off"
1 parent 5cd81fe commit 8065da9

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

resources/views/components/modal-confirmation.blade.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ class="flex absolute top-2 right-2 justify-center items-center w-8 h-8 rounded-f
227227
<h4 class="mb-2 text-lg font-semibold">Confirm Actions</h4>
228228
<p class="mb-2 text-sm">{{ $confirmationLabel }}</p>
229229
<div class="relative mb-2">
230-
<input type="text" x-model="confirmationText"
230+
<input autocomplete="off" type="text" x-model="confirmationText"
231231
class="p-2 pr-10 w-full text-black rounded cursor-text input" readonly>
232232
<button @click="copyConfirmationText()"
233233
class="absolute right-2 top-1/2 text-gray-500 transform -translate-y-1/2 hover:text-gray-700"
@@ -255,7 +255,7 @@ class="absolute right-2 top-1/2 text-gray-500 transform -translate-y-1/2 hover:t
255255
class="block mt-4 text-sm font-medium text-gray-700 dark:text-gray-300">
256256
{{ $shortConfirmationLabel }}
257257
</label>
258-
<input type="text" x-model="userConfirmationText"
258+
<input autocomplete="off" type="text" x-model="userConfirmationText"
259259
class="p-2 mt-1 w-full text-black rounded input">
260260
</div>
261261
@endif
@@ -272,7 +272,7 @@ class="p-2 mt-1 w-full text-black rounded input">
272272
class="block text-sm font-medium text-gray-700 dark:text-gray-300">
273273
Your Password
274274
</label>
275-
<input type="password" id="password-confirm" x-model="password" class="w-full input"
275+
<input autocomplete="off" type="password" id="password-confirm" x-model="password" class="w-full input"
276276
placeholder="Enter your password">
277277
<p x-show="passwordError" x-text="passwordError" class="mt-1 text-sm text-red-500"></p>
278278
@error('password')

resources/views/livewire/project/new/select.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ class="w-[4.5rem] aspect-square h-[4.5rem] p-2 transition-all duration-200 opaci
494494
companies, and use of them does not imply any affiliation or endorsement.<br>Find more services <a
495495
class="dark:text-white underline" target="_blank"
496496
href="https://coolify.io/docs/services">here</a>.</div>
497-
<input class="input" autofocus wire:model.live.debounce.200ms="search" autofocus
497+
<input autocomplete="off" class="input" autofocus wire:model.live.debounce.200ms="search" autofocus
498498
placeholder="Search...">
499499
@if ($loadingServices)
500500
<x-loading text="Loading services..." />

resources/views/livewire/server/form.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ class="mt-8 mb-4 w-full font-bold box-without-bg bg-coollabs hover:bg-coollabs-1
9494
</div>
9595
<div class="relative">
9696
<div class="inline-flex relative items-center w-64">
97-
<input wire:dirty.class.remove='dark:focus:ring-coolgray-300 dark:ring-coolgray-300'
97+
<input autocomplete="off" wire:dirty.class.remove='dark:focus:ring-coolgray-300 dark:ring-coolgray-300'
9898
wire:dirty.class="dark:focus:ring-warning dark:ring-warning" x-model="search"
9999
@focus="open = true" @click.away="open = false" @input="open = true" class="w-full input"
100100
:placeholder="placeholder" wire:model.debounce.300ms="server.settings.server_timezone">

resources/views/livewire/settings/index.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
</div>
4242
<div class="relative">
4343
<div class="inline-flex items-center relative w-full">
44-
<input wire:dirty.class.remove='dark:focus:ring-coolgray-300 dark:ring-coolgray-300'
44+
<input autocomplete="off" wire:dirty.class.remove='dark:focus:ring-coolgray-300 dark:ring-coolgray-300'
4545
wire:dirty.class="dark:focus:ring-warning dark:ring-warning" x-model="search"
4646
@focus="open = true" @click.away="open = false" @input="open = true"
4747
class="w-full input " :placeholder="placeholder"

0 commit comments

Comments
 (0)