Project

General

Profile

Bug #101455

Updated by Stefan P 12 months ago

I have a custom Form Element defintion, having the following rendering options with variants. It should always be disabled but has a variant that enables it on "Page" steps. 
 <pre><code class="yaml"> 
 renderingOptions: 
     enabled: false 
 variants: 
     - identifier: showOnlyOnPages 
       renderingOptions: 
           enabled: true 
       condition: 'stepType == "Page"' 
 </code></pre> 

 With this configuration the field is _always_ rendered, however, also in finishers and on the SummaryPage! 

 When changing the condition to @stepType == "NotExistingType"@ "NotExistignType"@ it is never shown, not on Page, not on SummaryPage, not in finishers. So the condition itself is actually evaluated somewhat correctly. But why do SummaryPage and finishers are considered to be of step type "Page"? I can't imagine this to be correct behaviour.

Back