2016-04-21 20-09-55
J.
 
MVP
Conditional styles/extended properties
2441
Views
5
Comments
On our RadarOn our Radar
Frontend (App Interfaces)

Hi,

sometimes based on a certain condition I would change the style on a button.
Instead of having that if statement in the screen and thus creating 2 buttons I would want the "Style" property to be able to handle conditions.

Same with extended properties. because sometime an onclick is added and sometimes not.
2013-05-16 15-48-18
ovatsus
You can already do that by adding a "class" extended property with an If in the value
2016-04-21 20-09-55
J.
 
MVP
true, but why have a normal "style" then?

in the other case, when for example, I want an onclick on a td only in certain moments. sometime i don;t want the onclick added, because even if it's doing notjing, i can still tab through it and nptice it is a link
So we can for instance put an if arround the CSS class to be applied to an element, without using the extended properties.

Merged from 'Make the Class property an expression' (idea created on 2012-02-02 10:29:41 by André Ramos), on 2016-11-02 10:19:58 by Goncalo Borrega
2016-04-21 20-09-55
J.
 
MVP
took me a while, but I had a similar idea long long time ago :)

https://www.outsystems.com/ideas/227/

Merged from 'Make the Class property an expression' (idea created on 2012-02-02 10:29:41 by André Ramos), on 2016-11-02 10:19:58 by Goncalo Borrega
2016-11-21 23-23-05
Gonçalo Borrêga
Merged this idea with 'Make the Class property an expression' (created on 2012-02-02 10:29:41 by André Ramos)