diff --git a/Customizations/StreetWidth/Widths.ts b/Customizations/StreetWidth/Widths.ts
index ede5dd8..c0b23df 100644
--- a/Customizations/StreetWidth/Widths.ts
+++ b/Customizations/StreetWidth/Widths.ts
@@ -257,13 +257,15 @@ export class Widths extends LayerDefinition {
tags.targetWidth = r(props.targetWidth);
tags.short = "";
if (props.width < props.targetWidth) {
- tags.short = r(props.targetWidth - props.width)
+ tags.short = `Dit is ${r(props.targetWidth - props.width)}m te weinig`
}
+ console.log("SHORT", tags.short)
},
- mappings:[
- {k: new Tag("short","*"), txt: "De totale nodige ruimte voor vlot en veilig verkeer is dus {targetWidth}m
" +
- "Er is dus {short}m te weinig", substitute: true},
- {k: new Tag("short",""), txt: "De totale nodige ruimte voor vlot en veilig verkeer is dus {targetWidth}m"}
+ mappings: [
+ {
+ k: null,
+ txt: "De totale nodige ruimte voor vlot en veilig verkeer is dus {targetWidth}m
{short}"
+ }
]
}
).OnlyShowIf(this._notCarfree),
diff --git a/UI/TagRendering.ts b/UI/TagRendering.ts
index af29c07..639981c 100644
--- a/UI/TagRendering.ts
+++ b/UI/TagRendering.ts
@@ -359,8 +359,6 @@ export class TagRendering extends UIElement implements TagDependantUIElement {
return undefined;
}
- console.log("Creating a freeform input element for ", this._source.data._country);
-
return ValidatedTextField.Mapped(pickString, toString, {
placeholder: this._freeform.placeholder,
type: type,