File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
inertia/resources/js/Pages/Profile/Partials
livewire/resources/views/profile Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -135,6 +135,7 @@ const clearPhotoFileInput = () => {
135
135
v-model=" form .name "
136
136
type=" text"
137
137
class=" mt- 1 block w- full"
138
+ required
138
139
autocomplete=" name"
139
140
/>
140
141
<InputError :message=" form .errors .name " class=" mt- 2 " />
@@ -148,6 +149,7 @@ const clearPhotoFileInput = () => {
148
149
v-model=" form .email "
149
150
type=" email"
150
151
class=" mt- 1 block w- full"
152
+ required
151
153
autocomplete=" username"
152
154
/>
153
155
<InputError :message=" form .errors .email " class=" mt- 2 " />
Original file line number Diff line number Diff line change 55
55
<!-- Name -->
56
56
<div class =" col-span-6 sm:col-span-4" >
57
57
<x-label for =" name" value =" {{ __ (' Name' ) } }" />
58
- <x-input id =" name" type =" text" class =" mt-1 block w-full" wire:model.defer =" state.name" autocomplete =" name" />
58
+ <x-input id =" name" type =" text" class =" mt-1 block w-full" wire:model.defer =" state.name" required autocomplete =" name" />
59
59
<x-input-error for =" name" class =" mt-2" />
60
60
</div >
61
61
62
62
<!-- Email -->
63
63
<div class =" col-span-6 sm:col-span-4" >
64
64
<x-label for =" email" value =" {{ __ (' Email' ) } }" />
65
- <x-input id =" email" type =" email" class =" mt-1 block w-full" wire:model.defer =" state.email" autocomplete =" username" />
65
+ <x-input id =" email" type =" email" class =" mt-1 block w-full" wire:model.defer =" state.email" required autocomplete =" username" />
66
66
<x-input-error for =" email" class =" mt-2" />
67
67
68
68
@if (Laravel \Fortify \Features:: enabled (Laravel \Fortify \Features:: emailVerification ()) && ! $this -> user -> hasVerifiedEmail () )
You can’t perform that action at this time.
0 commit comments