File tree Expand file tree Collapse file tree 3 files changed +15
-14
lines changed
Expand file tree Collapse file tree 3 files changed +15
-14
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ export default typescriptEslint.config(
2929 } ,
3030 } ,
3131 rules : {
32+ 'vue/require-default-prop' : 'off' ,
3233 'vue/attribute-hyphenation' : 'off' ,
3334 'vue/multi-word-component-names' : 'off' ,
3435 'vue/block-lang' : 'off' ,
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ onMounted(() => {
2828 <GuestLayout >
2929 <Head title =" Forgot Password" />
3030
31- <template # message v-if =" status " >
31+ <template v-if =" status " # message >
3232 <Message severity =" success" :closable =" false" class =" shadow" >
3333 {{ status }}
3434 </Message >
@@ -40,15 +40,15 @@ onMounted(() => {
4040 you to choose a new one.
4141 </div >
4242
43- <form @submit.prevent = " submit " class =" space-y-6" >
43+ <form class =" space-y-6" @submit.prevent = " submit " >
4444 <div class =" space-y-2" >
4545 <label for =" email" >Email</label >
4646 <InputText
47- required
4847 ref =" email-input"
48+ v-model =" form.email"
4949 id =" email"
5050 type =" email"
51- v-model = " form.email "
51+ required
5252 fluid
5353 :invalid =" Boolean(form.errors.email)"
5454 autocomplete =" username"
@@ -65,9 +65,9 @@ onMounted(() => {
6565
6666 <div class =" flex justify-end items-center" >
6767 <Button
68+ :loading =" form.processing"
6869 raised
6970 type =" submit"
70- :loading =" form.processing"
7171 label =" Email Password Reset Link"
7272 severity =" contrast"
7373 />
Original file line number Diff line number Diff line change @@ -35,21 +35,21 @@ onMounted(() => {
3535 <GuestLayout >
3636 <Head title =" Log in" />
3737
38- <template # message v-if =" status " >
38+ <template v-if =" status " # message >
3939 <Message severity =" success" :closable =" false" class =" shadow" >
4040 {{ status }}
4141 </Message >
4242 </template >
4343
44- <form @submit.prevent = " submit " class =" space-y-6" >
44+ <form class =" space-y-6" @submit.prevent = " submit " >
4545 <div class =" space-y-2" >
4646 <label for =" email" >Email</label >
4747 <InputText
48- required
4948 ref =" email-input"
49+ v-model =" form.email"
5050 id =" email"
5151 type =" email"
52- v-model = " form.email "
52+ required
5353 fluid
5454 :invalid =" Boolean(form.errors.email)"
5555 autocomplete =" username"
@@ -67,10 +67,10 @@ onMounted(() => {
6767 <div class =" space-y-2" >
6868 <label for =" password" >Password</label >
6969 <InputText
70- required
70+ v-model = " form.password "
7171 id =" password"
7272 type =" password"
73- v-model = " form.password "
73+ required
7474 fluid
7575 :invalid =" Boolean(form.errors.password)"
7676 autocomplete =" current-password"
@@ -89,9 +89,9 @@ onMounted(() => {
8989 <div class =" flex items-center justify-between" >
9090 <div class =" flex items-center" >
9191 <Checkbox
92- id =" remember"
93- :binary =" true"
9492 v-model =" form.remember"
93+ :binary =" true"
94+ id =" remember"
9595 class =" mr-2"
9696 ></Checkbox >
9797 <label for =" remember" >Remember me</label >
@@ -108,9 +108,9 @@ onMounted(() => {
108108 Forgot your password?
109109 </Link >
110110 <Button
111+ :loading =" form.processing"
111112 raised
112113 type =" submit"
113- :loading =" form.processing"
114114 label =" Log In"
115115 severity =" contrast"
116116 />
You can’t perform that action at this time.
0 commit comments