Fix rendering issue

This commit is contained in:
Pieter Vander Vennet 2020-07-29 20:19:29 +02:00
parent 2dd14028ce
commit 7a9c21f83d
2 changed files with 6 additions and 2 deletions

View file

@ -360,8 +360,12 @@ class TagRendering extends UIElement implements TagDependantUIElement {
return undefined;
}
const prepost = Translations.W(freeform.template).InnerRender().split("$");
const prepost = Translations.W(freeform.template).InnerRender()
.replace("$$$","$string$")
.split("$");
const type = prepost[1];
console.log("PrePost:", prepost);
let isValid = TagRenderingOptions.inputValidation[type];
if (isValid === undefined) {