File tree Expand file tree Collapse file tree 5 files changed +26
-28
lines changed
Expand file tree Collapse file tree 5 files changed +26
-28
lines changed Original file line number Diff line number Diff line change @@ -20,12 +20,10 @@ export function useAxiosErrorHandling() {
2020 } ;
2121
2222 const showErrorToast = ( summary , detail ) => {
23- //toast.removeGroup('error');
2423 toast . add ( {
2524 severity : 'error' ,
2625 summary,
2726 detail,
28- group : 'error' ,
2927 life : 3000 ,
3028 } ) ;
3129 } ;
Original file line number Diff line number Diff line change @@ -68,11 +68,11 @@ onMounted(() => {
6868 id =" email"
6969 ref =" email-input"
7070 v-model =" formData.email"
71- type =" email"
72- class =" w-full"
7371 :invalid =" Boolean(validationErrors?.email)"
72+ type =" email"
7473 autocomplete =" username"
7574 required
75+ fluid
7676 />
7777 <InputErrors :errors =" validationErrors?.email" />
7878 </div >
Original file line number Diff line number Diff line change @@ -75,27 +75,27 @@ onMounted(() => {
7575 id= " email"
7676 ref= " email-input"
7777 v- model= " formData.email"
78+ : invalid= " Boolean(validationErrors?.email)"
7879 type= " email"
79- class = " w-full"
80- : invalid= " Boolean(validationErrors.email)"
8180 autocomplete= " username"
8281 required
82+ fluid
8383 / >
84- < InputErrors : errors= " validationErrors.email" / >
84+ < InputErrors : errors= " validationErrors? .email" / >
8585 < / div>
8686
8787 < div class = " flex flex-col gap-2" >
8888 < label for = " password" > Password< / label>
89- < InputText
89+ < Password
9090 id= " password"
9191 v- model= " formData.password"
92- type= " password"
93- class = " w-full"
94- : invalid= " Boolean(validationErrors.password)"
92+ : invalid= " Boolean(validationErrors?.password)"
9593 autocomplete= " current-password"
94+ toggleMask
9695 required
96+ fluid
9797 / >
98- < InputErrors : errors= " validationErrors.password" / >
98+ < InputErrors : errors= " validationErrors? .password" / >
9999 < / div>
100100
101101 < div>
Original file line number Diff line number Diff line change @@ -53,11 +53,11 @@ onMounted(() => {
5353 id =" name"
5454 ref =" name-input"
5555 v-model =" formData.name"
56- type =" text"
57- class =" w-full"
5856 :invalid =" Boolean(validationErrors?.name)"
57+ type =" text"
5958 autocomplete =" name"
6059 required
60+ fluid
6161 />
6262 <InputErrors :errors =" validationErrors?.name" />
6363 </div >
@@ -67,25 +67,25 @@ onMounted(() => {
6767 <InputText
6868 id =" email"
6969 v-model =" formData.email"
70- type =" email"
71- class =" w-full"
7270 :invalid =" Boolean(validationErrors?.email)"
71+ type =" email"
7372 autocomplete =" username"
7473 required
74+ fluid
7575 />
7676 <InputErrors :errors =" validationErrors?.email" />
7777 </div >
7878
7979 <div class =" flex flex-col gap-2" >
8080 <label for =" password" >Password</label >
81- <InputText
81+ <Password
8282 id =" password"
8383 v-model =" formData.password"
84- type =" password"
85- class =" w-full"
8684 :invalid =" Boolean(validationErrors?.password)"
8785 autocomplete =" new-password"
86+ toggleMask
8887 required
88+ fluid
8989 />
9090 <InputErrors :errors =" validationErrors?.password" />
9191 </div >
@@ -95,11 +95,11 @@ onMounted(() => {
9595 <InputText
9696 id =" password_confirmation"
9797 v-model =" formData.password_confirmation"
98- type =" password"
99- class =" w-full"
10098 :invalid =" Boolean(validationErrors?.password_confirmation)"
99+ type =" password"
101100 autocomplete =" new-password"
102101 required
102+ fluid
103103 />
104104 <InputErrors :errors =" validationErrors?.password_confirmation" />
105105 </div >
Original file line number Diff line number Diff line change @@ -65,25 +65,25 @@ onMounted(() => {
6565 id= " email"
6666 ref= " email-input"
6767 v- model= " formData.email"
68- type= " email"
69- class = " w-full"
7068 : invalid= " Boolean(validationErrors?.email)"
69+ type= " email"
7170 autocomplete= " username"
7271 required
72+ fluid
7373 / >
7474 < InputErrors : errors= " validationErrors?.email" / >
7575 < / div>
7676
7777 < div class = " flex flex-col gap-2" >
7878 < label for = " password" > New Password< / label>
79- < InputText
79+ < Password
8080 id= " password"
8181 v- model= " formData.password"
82- type= " password"
83- class = " w-full"
8482 : invalid= " Boolean(validationErrors?.password)"
8583 autocomplete= " new-password"
84+ toggleMask
8685 required
86+ fluid
8787 / >
8888 < InputErrors : errors= " validationErrors?.password" / >
8989 < / div>
@@ -93,11 +93,11 @@ onMounted(() => {
9393 < InputText
9494 id= " password_confirmation"
9595 v- model= " formData.password_confirmation"
96- type= " password"
97- class = " w-full"
9896 : invalid= " Boolean(validationErrors?.password_confirmation)"
97+ type= " password"
9998 autocomplete= " new-password"
10099 required
100+ fluid
101101 / >
102102 < InputErrors : errors= " validationErrors?.password_confirmation" / >
103103 < / div>
You can’t perform that action at this time.
0 commit comments