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 = () => {
135135 v-model=" form .name "
136136 type=" text"
137137 class=" mt- 1 block w- full"
138+ required
138139 autocomplete=" name"
139140 />
140141 <InputError :message=" form .errors .name " class=" mt- 2 " />
@@ -148,6 +149,7 @@ const clearPhotoFileInput = () => {
148149 v-model=" form .email "
149150 type=" email"
150151 class=" mt- 1 block w- full"
152+ required
151153 autocomplete=" username"
152154 />
153155 <InputError :message=" form .errors .email " class=" mt- 2 " />
Original file line number Diff line number Diff line change 5555 <!-- Name -->
5656 <div class =" col-span-6 sm:col-span-4" >
5757 <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" />
5959 <x-input-error for =" name" class =" mt-2" />
6060 </div >
6161
6262 <!-- Email -->
6363 <div class =" col-span-6 sm:col-span-4" >
6464 <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" />
6666 <x-input-error for =" email" class =" mt-2" />
6767
6868 @if (Laravel \Fortify \Features:: enabled (Laravel \Fortify \Features:: emailVerification ()) && ! $this -> user -> hasVerifiedEmail () )
You can’t perform that action at this time.
0 commit comments