diff --git a/resources/views/auth/forms/login/ldap.blade.php b/resources/views/auth/forms/login/ldap.blade.php
index f7903e18c..2699fda00 100644
--- a/resources/views/auth/forms/login/ldap.blade.php
+++ b/resources/views/auth/forms/login/ldap.blade.php
@@ -1,12 +1,12 @@
{{ trans('auth.username') }}
- @include('form.text', ['name' => 'username', 'tabindex' => 1])
+ @include('form.text', ['name' => 'username', 'autofocus' => true])
@if(session('request-email', false) === true)
diff --git a/resources/views/components/custom-checkbox.blade.php b/resources/views/components/custom-checkbox.blade.php
index 6ba2f457f..fa3da02e5 100644
--- a/resources/views/components/custom-checkbox.blade.php
+++ b/resources/views/components/custom-checkbox.blade.php
@@ -3,12 +3,10 @@ $name
$value
$checked
$label
-$tabindex
--}}
- @icon('check')
{{$label}}
diff --git a/resources/views/components/toggle-switch.blade.php b/resources/views/components/toggle-switch.blade.php
index f61c07670..4d3d3e857 100644
--- a/resources/views/components/toggle-switch.blade.php
+++ b/resources/views/components/toggle-switch.blade.php
@@ -1,8 +1,7 @@
- @icon('check')
{{ $label }}
diff --git a/resources/views/form/password.blade.php b/resources/views/form/password.blade.php
index 8f7c4ee01..a3c868a8d 100644
--- a/resources/views/form/password.blade.php
+++ b/resources/views/form/password.blade.php
@@ -1,7 +1,6 @@
has($name)) class="text-neg" @endif
@if(isset($placeholder)) placeholder="{{$placeholder}}" @endif
- @if(isset($tabindex)) tabindex="{{$tabindex}}" @endif
@if(old($name)) value="{{ old($name)}}" @endif>
@if($errors->has($name))
{{ $errors->first($name) }}
diff --git a/resources/views/form/text.blade.php b/resources/views/form/text.blade.php
index 89e72ddb4..4b3631a06 100644
--- a/resources/views/form/text.blade.php
+++ b/resources/views/form/text.blade.php
@@ -1,9 +1,8 @@
has($name)) class="text-neg" @endif
@if(isset($placeholder)) placeholder="{{$placeholder}}" @endif
- @if(isset($disabled) && $disabled) disabled="disabled" @endif
- @if(isset($tabindex)) tabindex="{{$tabindex}}" @endif
+ @if($autofocus ?? false) autofocus @endif
+ @if($disabled ?? false) disabled="disabled" @endif
@if(isset($model) || old($name)) value="{{ old($name) ? old($name) : $model->$name}}" @endif>
@if($errors->has($name))
{{ $errors->first($name) }}