forked from MapComplete/MapComplete
Documentation updates
This commit is contained in:
parent
2d5d3fbd96
commit
e4cd93ffb0
5 changed files with 112 additions and 38 deletions
|
@ -552,7 +552,11 @@ export default class ValidatedTextField {
|
|||
|
||||
public static HelpText(): string {
|
||||
const explanations = ValidatedTextField.tpList.map(type => ["## " + type.name, "", type.explanation].join("\n")).join("\n\n")
|
||||
return "# Available types for text fields\n\nThe listed types here trigger a special input element. Use them in `tagrendering.freeform.type` of your tagrendering to activate them\n\n" + explanations
|
||||
return new Combine([
|
||||
new Title("Available types for text fields", 1),
|
||||
"The listed types here trigger a special input element. Use them in `tagrendering.freeform.type` of your tagrendering to activate them",
|
||||
explanations
|
||||
]).SetClass("flex flex-col").AsMarkdown()
|
||||
}
|
||||
|
||||
private static tp(name: string,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue