-Quando insersci l'username telegram sul Profilo, devo togliergli la chiocciola !

- anche nella ricerca User
This commit is contained in:
Surya Paolo
2024-02-28 17:04:34 +01:00
parent 965f32b65c
commit 8da93f3f4a
6 changed files with 72 additions and 20 deletions

View File

@@ -147,7 +147,7 @@
color="green"
>online</q-badge
>
<q-badge
v-if="tools.notisVerifiedByUser(row)"
align="bottom"
@@ -205,7 +205,10 @@
col.fieldtype === costanti.FieldType.crypted
"
>
<div v-if="isInModif" :class="{ flex: !isInModif, 'q-mb-sm': true }">
<div
v-if="isInModif"
:class="{ flex: !isInModif, 'q-mb-sm': true }"
>
<q-input
v-bind="$attrs"
v-model="myvalue"
@@ -228,10 +231,13 @@
>
</q-input>
<q-field v-if="col.showLinkResult">
Diventerà: <a :href="tools.generateURL(col.showLinkResult, myvalue)" target="_blank">{{tools.generateURL(col.showLinkResult, myvalue)}}</a>
Diventerà:
<a
:href="tools.generateURL(col.showLinkResult, myvalue)"
target="_blank"
>{{ tools.generateURL(col.showLinkResult, myvalue) }}</a
>
</q-field>
</div>
<div
v-else-if="col.tipovisu === costanti.TipoVisu.TESTO_BORDATO"
@@ -284,11 +290,13 @@
:label="myvalue"
>
</q-btn>
<span
v-else
:class="{ disabled: disable }"
v-html="visuValByType(myvalue, col, row)"
></span>
<span v-else>
<span v-if="notAllowAtChar" class="text-h7">@</span>
<span
:class="{ disabled: disable }"
v-html="visuValByType(myvalue, col, row)"
></span>
</span>
</div>
</div>
<div
@@ -573,7 +581,7 @@
? $t(col.label_trans)
: ''
"
:class="{'cursor-pointer': canEdit}"
:class="{ 'cursor-pointer': canEdit }"
v-model:value="myvalue"
:readonly="false"
:minuteinterval="minuteinterval"
@@ -596,7 +604,7 @@
<div v-else-if="col.fieldtype === costanti.FieldType.onlydate">
<CDateTime
:label="col.label ? col.label : $t(col.label_trans)"
:class="{'cursor-pointer': canEdit}"
:class="{ 'cursor-pointer': canEdit }"
:valueDate="myvalue"
v-model:value="myvalue"
:readonly="false"
@@ -744,7 +752,7 @@
</div>
<div v-else>(Scegli)</div>
</div>
<div v-else-if="col.fieldtype === costanti.FieldType.multioption">
<div v-else-if="col.fieldtype === costanti.FieldType.multioption">
<q-option-group
v-model="myvalue"
:inline="col.inline"
@@ -926,7 +934,11 @@
</div>
<div v-else-if="col.fieldtype === costanti.FieldType.html">
<div v-if="isInModif">
<q-bar v-if="isInModif" :dense="dense" class="bg-primary text-white">
<q-bar
v-if="isInModif"
:dense="dense"
class="bg-primary text-white"
>
<span v-if="col.label_trans">{{ $t(col.label_trans) }}</span
><span v-else> {{ $t('event.testo_di_spiegazione') }}: </span>
<q-space />
@@ -1067,7 +1079,8 @@
col.fieldtype === costanti.FieldType.string ||
col.fieldtype === costanti.FieldType.crypted
"
>
>
<q-input
v-bind="$attrs"
counter
@@ -1084,6 +1097,9 @@
@keyup.enter.stop
autofocus
>
<template v-if="notAllowAtChar" v-slot:prepend>
<span class="text-h7 text-blue">@</span>
</template>
</q-input>
</div>
<div v-else-if="col.fieldtype === costanti.FieldType.number">
@@ -1360,7 +1376,7 @@
? $t(col.label_trans)
: ''
"
:class="{'cursor-pointer': canEdit}"
:class="{ 'cursor-pointer': canEdit }"
v-model:value="myvalue"
:readonly="false"
:minuteinterval="minuteinterval"
@@ -1374,7 +1390,7 @@
<div v-else-if="col.fieldtype === costanti.FieldType.onlydate">
<CDateTime
:label="col.label ? col.label : $t(col.label_trans)"
:class="{'cursor-pointer': canEdit}"
:class="{ 'cursor-pointer': canEdit }"
:valueDate="myvalue"
v-model:value="myvalue"
:readonly="false"