diff --git a/src/components/CGridTableRec/CGridTableRec.ts b/src/components/CGridTableRec/CGridTableRec.ts index 90282090..fbcbd615 100755 --- a/src/components/CGridTableRec/CGridTableRec.ts +++ b/src/components/CGridTableRec/CGridTableRec.ts @@ -1984,7 +1984,11 @@ export default defineComponent({ if (col.field_toduplicate_nospace) { // let trovato = tools.removespecial_chars(myobj[col.name]) - myobj[col.field_toduplicate_nospace] = trovato + if (myobj[col.field_toduplicate_nospace] === '') { + myobj[col.field_toduplicate_nospace] = trovato + } + let attuale = tools.removespecial_chars(myobj[col.field_toduplicate_nospace]) + myobj[col.field_toduplicate_nospace] = attuale // console.log('trovato', trovato, 'name', myobj[col.name], 'duplicate:', myobj[col.field_toduplicate_nospace], 'orig', myobj[col.name]) } }) diff --git a/src/components/CGridTableUser/CGridTableUser.ts b/src/components/CGridTableUser/CGridTableUser.ts index f6424442..79f94e56 100755 --- a/src/components/CGridTableUser/CGridTableUser.ts +++ b/src/components/CGridTableUser/CGridTableUser.ts @@ -1952,7 +1952,11 @@ export default defineComponent({ if (col.field_toduplicate_nospace) { // let trovato = tools.removespecial_chars(myobj[col.name]) - myobj[col.field_toduplicate_nospace] = trovato + if (myobj[col.field_toduplicate_nospace] === '') { + myobj[col.field_toduplicate_nospace] = trovato + } + let attuale = tools.removespecial_chars(myobj[col.field_toduplicate_nospace]) + myobj[col.field_toduplicate_nospace] = attuale // console.log('trovato', trovato, 'name', myobj[col.name], 'duplicate:', myobj[col.field_toduplicate_nospace], 'orig', myobj[col.name]) } }) diff --git a/src/components/CMyPopupEdit/CMyPopupEdit.vue b/src/components/CMyPopupEdit/CMyPopupEdit.vue index 106b6c06..193f3c9b 100755 --- a/src/components/CMyPopupEdit/CMyPopupEdit.vue +++ b/src/components/CMyPopupEdit/CMyPopupEdit.vue @@ -85,8 +85,7 @@ v-if=" col.extrafield && (col.tipovisu !== costanti.TipoVisu.LINK || - (col.tipovisu === costanti.TipoVisu.LINK && - myvalue)) + (col.tipovisu === costanti.TipoVisu.LINK && myvalue)) " > {{ $t(col.extrafield) }} @@ -205,7 +204,7 @@ col.fieldtype === costanti.FieldType.crypted " > -
+
+ + Diventerà: {{tools.generateURL(col.showLinkResult, myvalue)}} + + +