Add ifnot-tags for multianswers, in order to indicate something is _not_ possible (e.g.: playment:coins=no)

This commit is contained in:
Pieter Vander Vennet 2021-02-20 16:48:42 +01:00
parent 972128516b
commit ae9d93138b
8 changed files with 99 additions and 131 deletions

View file

@ -50,6 +50,11 @@ export interface TagRenderingConfigJson {
*/
mappings?: {
if: AndOrTagConfigJson | string,
/**
* Only applicable if 'multiAnswer' is set.
* This tag is applied if the respective checkbox is unset
*/
ifnot?: AndOrTagConfigJson | string,
then: string | any
hideInAnswer?: boolean
}[]