forked from MapComplete/MapComplete
Small fix to custom generator, add shopping map
This commit is contained in:
parent
7eb7f40ead
commit
b8a1683191
5 changed files with 248 additions and 2 deletions
|
@ -166,7 +166,7 @@ export default class ValidatedTextField {
|
|||
const values: { value: string, shown: string }[] = [];
|
||||
const expl = ValidatedTextField.tpList;
|
||||
for (const key in expl) {
|
||||
values.push({value: key, shown: `${expl[key].name} - ${expl[key].explanation}`})
|
||||
values.push({value: expl[key].name, shown: `${expl[key].name} - ${expl[key].explanation}`})
|
||||
}
|
||||
return new DropDown<string>("", values)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue