formentryapp extensions: Where is "Show If" processed?

Hi @mogoodrich @dkayiwa,

As you know App Framework’s extensions will display or not based on whether their "require" expression is fulfilled, see here:

if (contextModel == null || checkRequireExpression(candidate, contextModel)) {

I was interested in the “Show If” possibility for formentryapp’s form extensions and I just could not find where is the code that processes showIf

Any idea?

Cc @samuel34 @ruhanga

showIf is also processed as require in the snippet of code that you have provided above because of this:


Ah, how did I miss that. Thanks @dkayiwa!