Some work on NSI

This commit is contained in:
Pieter Vander Vennet 2024-04-30 15:59:07 +02:00
parent 1dc7c2a45b
commit d719d0e1be
4 changed files with 112 additions and 77 deletions

View file

@ -1091,6 +1091,9 @@ class MiscTagRenderingChecks extends DesugaringStep<TagRenderingConfigJson> {
)
}
}
if(json.freeform.type === "nsi"){
throw "Should validate NSI: path should exist"
}
}
if (json.render && json["question"] && json.freeform === undefined) {
context.err(