forked from MapComplete/MapComplete
Fix issue with placeholder for freeform keys
This commit is contained in:
parent
1305e0c2db
commit
9ce93841c1
1 changed files with 1 additions and 1 deletions
|
@ -119,7 +119,7 @@ export default class TagRenderingConfig {
|
||||||
if (placeholder === undefined) {
|
if (placeholder === undefined) {
|
||||||
const typeDescription = Translations.t.validation[type]?.description
|
const typeDescription = Translations.t.validation[type]?.description
|
||||||
if(typeDescription !== undefined){
|
if(typeDescription !== undefined){
|
||||||
placeholder = Translations.T(json.freeform.key+" ("+type+")").Subs({[type]: typeDescription})
|
placeholder = Translations.T(json.freeform.key+" ({"+type+"})").Subs({[type]: typeDescription})
|
||||||
}else{
|
}else{
|
||||||
placeholder = Translations.T(json.freeform.key+" ("+type+")")
|
placeholder = Translations.T(json.freeform.key+" ("+type+")")
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue