fix: messages and notif Friends Accepteded

This commit is contained in:
Surya Paolo
2022-12-17 22:12:18 +01:00
parent 3c2fc4c806
commit 3aaa94c33e
16 changed files with 505 additions and 402 deletions

View File

@@ -102,7 +102,7 @@
icon="arrow_right"
label="Avanti"
:disabled="checkifDisabled"
@click="$refs.carousel.next()"
@click="!checkifDisabled ? $refs.carousel.next() : null"
/>
</q-carousel-control>
</template>
@@ -118,6 +118,11 @@
v-model="signup.aportador_solidario"
rounded
outlined
@keyup.enter="
v$.aportador_solidario.$touch && !v$.aportador_solidario.$error
? $refs.inputEmail.focus()
: null
"
@blur="v$.aportador_solidario.$touch"
:error="v$.aportador_solidario.$error"
:error-message="
@@ -134,7 +139,7 @@
<q-icon name="person" />
</template>
</q-input>
<div style="margin-top:5px;"></div>
<div style="margin-top: 5px"></div>
<q-input
ref="inputEmail"
@@ -143,6 +148,9 @@
outlined
@update:model-value="changeemail()"
maxlength="50"
v-on:keyup.enter="
!checkifDisabled ? $refs.carousel.next() : null
"
debounce="2000"
:rules="[myRuleEmail]"
:label="$t('reg.email_reg')"
@@ -168,6 +176,9 @@
@update:model-value="changeusername"
:error="v$.username.$error"
@keydown.space="(event) => event.preventDefault()"
@keyup.enter="
!v$.username.$error ? $refs.inputName.focus() : null
"
maxlength="20"
debounce="500"
:error-message="
@@ -183,6 +194,7 @@
<div v-if="show_namesurname">
<q-input
ref="inputName"
v-model="signup.name"
rounded
outlined
@@ -190,6 +202,7 @@
:error="v$.name.$error"
maxlength="30"
debounce="1000"
@keyup.enter="$refs.inputSurname.focus()"
:error-message="tools.errorMsg('name', v$.name)"
:label="$t('reg.name_opt')"
>
@@ -199,6 +212,7 @@
</q-input>
<q-input
ref="inputSurname"
v-model="signup.surname"
rounded
outlined
@@ -206,6 +220,9 @@
@blur="v$.surname.$touch"
maxlength="30"
debounce="1000"
v-on:keyup.enter="
!checkifDisabled ? $refs.carousel.next() : null
"
:error-message="tools.errorMsg('surname', v$.surname)"
:label="$t('reg.surname_opt')"
>
@@ -226,6 +243,9 @@
@blur="v$.password.$touch"
:error="v$.password.$error"
:error-message="`${tools.errorMsg('password', v$.password)}`"
@keyup.enter="
!v$.password.$error ? $refs.inputPassword2.focus() : null
"
maxlength="30"
debounce="1000"
:label="$t('reg.password_reg')"
@@ -260,6 +280,9 @@
'repeatpassword',
v$.repeatPassword
)}`"
v-on:keyup.enter="
!checkifDisabled ? $refs.carousel.next() : null
"
:label="$t('reg.repeatPassword')"
>
<template v-slot:append>