eufemia icon indicating copy to clipboard operation
eufemia copied to clipboard

Visibility within Iterate

Open andlbrei opened this issue 5 months ago • 1 comments

🚀 Feature Proposal

Visiblity within the Iterate context.

Motivation

We have a need for using conditionals inside a PushContainer to control which fields are fillable by the user. Currently Visibility does not seem to work with itemPaths.

Example

If the user choses an already existing person, then we show a subset of fields. If the user choses a new person "Annen person", then we show all fields.

image

There are different ways of solving the issue without this feature, so it is not a blocker per se.

Pitch

I think it is natural to think that Visibility would work within Iterate, as the section/fields within Iterate do not differ from regular sections/fields.

andlbrei avatar Sep 25 '24 10:09 andlbrei