diff --git a/api/js/etemplate/Et2Url/Et2Url.ts b/api/js/etemplate/Et2Url/Et2Url.ts index 4320510078..ea00a9835f 100644 --- a/api/js/etemplate/Et2Url/Et2Url.ts +++ b/api/js/etemplate/Et2Url/Et2Url.ts @@ -80,16 +80,16 @@ export class Et2Url extends Et2InvokerMixin(Et2Textbox) */ _oldChange(_ev: Event): boolean { - const value = this.modelValue; + const value = this.value; if (typeof this.trailingSlash !== 'undefined' && value && this.trailingSlash !== (value.substr(-1)==='/')) { if (!this.trailingSlash) { - this.modelValue = value.replace(/\/+$/, ''); + this.value = value.replace(/\/+$/, ''); } else { - this.modelValue += '/'; + this.value += '/'; } } return super._oldChange(_ev);