Skip to content

Commit 223cd37

Browse files
committed
fix: remove autofocuses
1 parent 93a0725 commit 223cd37

15 files changed

+16
-16
lines changed

resources/views/auth/confirm-password.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<div class="w-96">
99
<form action="/user/confirm-password" method="POST" class="flex flex-col gap-2">
1010
@csrf
11-
<x-forms.input required type="password" name="password" label="{{ __('input.password') }}" autofocus />
11+
<x-forms.input required type="password" name="password" label="{{ __('input.password') }}" />
1212
<x-forms.button type="submit">{{ __('auth.confirm_password') }}</x-forms.button>
1313
</form>
1414
@if ($errors->any())

resources/views/auth/forgot-password.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class="w-full bg-white shadow md:mt-0 sm:max-w-md xl:p-0 dark:bg-base ">
1212
@if (is_transactional_emails_active())
1313
<form action="/forgot-password" method="POST" class="flex flex-col gap-2">
1414
@csrf
15-
<x-forms.input required type="email" name="email" label="{{ __('input.email') }}" autofocus />
15+
<x-forms.input required type="email" name="email" label="{{ __('input.email') }}" />
1616
<x-forms.button type="submit">{{ __('auth.forgot_password_send_email') }}</x-forms.button>
1717
</form>
1818
@else

resources/views/auth/login.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
@csrf
1111
@env('local')
1212
<x-forms.input value="[email protected]" type="email" autocomplete="email" name="email"
13-
required label="{{ __('input.email') }}" autofocus />
13+
required label="{{ __('input.email') }}" />
1414

1515
<x-forms.input value="password" type="password" autocomplete="current-password" name="password"
1616
required label="{{ __('input.password') }}" />
@@ -20,7 +20,7 @@
2020
</a>
2121
@else
2222
<x-forms.input type="email" name="email" autocomplete="email" required
23-
label="{{ __('input.email') }}" autofocus />
23+
label="{{ __('input.email') }}" />
2424
<x-forms.input type="password" name="password" autocomplete="current-password" required
2525
label="{{ __('input.password') }}" />
2626
<a href="/forgot-password" class="text-xs">

resources/views/auth/reset-password.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
label="{{ __('input.email') }}" />
1717
<div class="flex flex-col gap-2">
1818
<x-forms.input required type="password" id="password" name="password"
19-
label="{{ __('input.password') }}" autofocus />
19+
label="{{ __('input.password') }}" />
2020
<x-forms.input required type="password" id="password_confirmation"
2121
name="password_confirmation" label="{{ __('input.password.again') }}" />
2222
</div>

resources/views/auth/two-factor-challenge.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<form action="/two-factor-challenge" method="POST" class="flex flex-col gap-2">
1010
@csrf
1111
<div>
12-
<x-forms.input type="number" name="code" autocomplete="one-time-code" label="{{ __('input.code') }}" autofocus />
12+
<x-forms.input type="number" name="code" autocomplete="one-time-code" label="{{ __('input.code') }}" />
1313
<div x-show="!showRecovery"
1414
class="pt-2 text-xs cursor-pointer hover:underline hover:dark:text-white"
1515
x-on:click="showRecovery = !showRecovery">Enter

resources/views/livewire/project/add-empty.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<form class="flex flex-col w-full gap-2 rounded" wire:submit='submit'>
2-
<x-forms.input autofocus placeholder="Your Cool Project" id="name" label="Name" required />
2+
<x-forms.input placeholder="Your Cool Project" id="name" label="Name" required />
33
<x-forms.input placeholder="This is my cool project everyone knows about" id="description" label="Description" />
44
<div class="subtitle">New project will have a default production environment.</div>
55
<x-forms.button type="submit" @click="slideOverOpen=false">

resources/views/livewire/project/add-environment.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<form class="flex flex-col w-full gap-2 rounded" wire:submit='submit'>
2-
<x-forms.input autofocus placeholder="production" id="name" label="Name" required />
2+
<x-forms.input placeholder="production" id="name" label="Name" required />
33
<x-forms.button type="submit" @click="slideOverOpen=false">
44
Save
55
</x-forms.button>

resources/views/livewire/project/database/create-scheduled-backup.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<form class="flex flex-col w-full gap-2 rounded" wire:submit='submit'>
2-
<x-forms.input autofocus placeholder="0 0 * * * or daily" id="frequency"
2+
<x-forms.input placeholder="0 0 * * * or daily" id="frequency"
33
helper="You can use every_minute, hourly, daily, weekly, monthly, yearly or a cron expression." label="Frequency"
44
required />
55
<x-forms.checkbox id="save_s3" label="Save to S3" />

resources/views/livewire/project/database/postgresql/general.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ class="w-28">Proxy Logs</x-forms.button>
102102
<h3>Initialization scripts</h3>
103103
<x-modal-input buttonTitle="+ Add" title="New Init Script">
104104
<form class="flex flex-col w-full gap-2 rounded" wire:submit='save_new_init_script'>
105-
<x-forms.input autofocus placeholder="create_test_db.sql" id="new_filename" label="Filename"
105+
<x-forms.input placeholder="create_test_db.sql" id="new_filename" label="Filename"
106106
required />
107107
<x-forms.textarea rows="20" placeholder="CREATE DATABASE test;" id="new_content"
108108
label="Content" required />

resources/views/livewire/project/resource/index.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class="button">+
4848
class="items-center justify-center box">+ Add New Resource</a>
4949
@else
5050
<div x-data="searchComponent()">
51-
<x-forms.input placeholder="Search for name, fqdn..." x-model="search" id="null" />
51+
<x-forms.input placeholder="Search for name, fqdn..." x-model="search" id="null" />
5252
<div class="grid grid-cols-1 gap-4 pt-4 lg:grid-cols-2 xl:grid-cols-3">
5353
<template x-for="item in allFilteredItems" :key="item.uuid">
5454
<span>

0 commit comments

Comments
 (0)