feat(themes): add questionHint to give extra information about a question

This commit is contained in:
Pieter Vander Vennet 2023-03-08 02:01:52 +01:00
parent 60f3499eb0
commit d7fe3a056e
5 changed files with 42 additions and 4 deletions

View file

@ -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