Re-enable local country detection

This commit is contained in:
Pieter Vander Vennet 2020-09-26 01:11:17 +02:00
parent 223f6191cd
commit 48ca24261f
158 changed files with 1714 additions and 8 deletions

View file

@ -298,7 +298,7 @@ export class TagRendering extends UIElement implements TagDependantUIElement {
}
private InputForFreeForm(freeform : {
private InputForFreeForm(freeform: {
key: string,
template: string | Translation,
renderTemplate: string | Translation,
@ -313,7 +313,7 @@ export class TagRendering extends UIElement implements TagDependantUIElement {
.replace("$$$", "$string$")
.split("$");
let type = prepost[1];
let isTextArea = false;
if(type === "text"){
isTextArea = true;
@ -371,9 +371,12 @@ export class TagRendering extends UIElement implements TagDependantUIElement {
}
return undefined;
}
return ValidatedTextField.Mapped(
pickString, toString, {placeholder: this._freeform.placeholder, isValid: isValid, textArea: isTextArea}
)
return ValidatedTextField.Mapped(pickString, toString, {
placeholder: this._freeform.placeholder,
isValid: isValid,
textArea: isTextArea
})
}