Validation expression does not work with "configuration" object in Forge Custom Field type

Hi community.

I’ve found a weird bug(or it might be my fault) with forge custom field validation expression.
There’s my Forge custom field configuration:


In the official docs is mentioned that I can refer to this configuration in validation

But when I’m trying to do the same:

        expression: "configuration.isRequired && value != null && value.length != 0"
        errorMessage: Value shouldn't be empty

I receive the next error on the issue creation:

There was an error when validating the value. Evaluation failed: “configuration.isRequired” - Unrecognized property of configuration: “isRequired” (‘isRequired’). Type null does not have any properties

Has anyone faced with this problem?

1 Like

Seems to be fixed after UI updates