Fix issue with placeholder for freeform keys

This commit is contained in:
pietervdvn 2022-06-23 15:40:10 +02:00
parent 1305e0c2db
commit 9ce93841c1

View file

@ -119,7 +119,7 @@ export default class TagRenderingConfig {
if (placeholder === undefined) {
const typeDescription = Translations.t.validation[type]?.description
if(typeDescription !== undefined){
placeholder = Translations.T(json.freeform.key+" ("+type+")").Subs({[type]: typeDescription})
placeholder = Translations.T(json.freeform.key+" ({"+type+"})").Subs({[type]: typeDescription})
}else{
placeholder = Translations.T(json.freeform.key+" ("+type+")")
}