Altinn / altinn-studio

Next generation open source Altinn platform and applications.
https://docs.altinn.studio
BSD 3-Clause "New" or "Revised" License
114 stars 70 forks source link

How do we display expression properties #12322

Open nkylstad opened 8 months ago

nkylstad commented 8 months ago

Description

A lot of properties can now be defined as either a static value or as an expression. F.ex:

These can now be set as true/false in our config view, but they can also be configured as an expression. If a boolean/expression value is set as an expression, the config will be disabled in the config panel, and inform the user in the help text

Screenshot 2024-02-15 at 20 20 49 Screenshot 2024-02-15 at 20 24 45

In addition, we currently only support boolean/expression type values. We should support all property types that can be either a static value or expression (string, number, etc).

When the user configures a component for the first time, should they be given a choice when it comes to this type of component? Or a link that takes them to the expression editor for that property? Should we integrate the expression editor directly with the property?

Ildest commented 8 months ago

@altinnadmin kan du gi meg tilgang til denne tavla, så jeg kan jobbe med denne saken?

Ildest commented 6 months ago

@nkylstad jeg trenger en kort forklaring på denne før jeg kan forslå tekster.

Ildest commented 4 months ago

@nkylstad hva er status på denne? jeg har mistet litt oversikten etter ferien.

Ildest commented 3 weeks ago

@Annikenkbrathen vet du status på denne? Er det noe jeg kan ta inn i neste sprint tror du?