Skip to content

Support UI Schema rule array #1807

Open
@kchobantonov

Description

@kchobantonov

Is your feature request related to a problem? Please describe.

Currently we can add only one rule per control which has only one effect. We can have cases where a control could become hidden, visible, enabled or disabled based on different rules.

Describe the solution you'd like

In UISchemaElement change

rule?: Rule;

to

rule?: Rule | Rule[];

Describe alternatives you've considered

Currently a work around would be to use a layout container that have another rule attached but if we have all 4 rules that applies then we should have 3 dummy containers/layouts around the control just to make that work.

Framework

Core

RendererSet

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions