Issue Bug Closed

#97079Impossible to have variants based on the state of the current element

Helmut Hummel 03/02/22, 09:49 updated 07/09/24, 12:45

Description

Form elements are represented by PHP objects, which hold some state, which can be modified during runtime.

However it is impossible to access this state in a variant condition, because the instance of the current element is not passed to the expression language evaluation.

For such use case to work properly, the API limitation on ExpressionLanguageResolver that variables are are only hold in the Resolver object must be lifted.

Reviews 2