forked from MapComplete/MapComplete
feat(themes): add questionHint to give extra information about a question
This commit is contained in:
parent
60f3499eb0
commit
d7fe3a056e
5 changed files with 42 additions and 4 deletions
|
@ -139,7 +139,13 @@ export interface QuestionableTagRenderingConfigJson extends TagRenderingConfigJs
|
|||
* If it turns out that this tagRendering doesn't match _any_ value, then we show this question.
|
||||
* If undefined, the question is never asked and this tagrendering is read-only
|
||||
*/
|
||||
question?: string | any
|
||||
question?: string | Record<string, string>
|
||||
|
||||
/**
|
||||
* A hint which is shown in subtle text under the question.
|
||||
* This can give some extra information on what the answer should ook like
|
||||
*/
|
||||
questionHint?: string | Record<string, string>
|
||||
|
||||
/**
|
||||
* Allow freeform text input from the user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue