47
Views
5
Comments
[OutSystems UI] Stacked Card with Variable List and Reactive Application
Question
Forge component by OutSystems R&D
93
Published on 02 Nov 2020

Hi,

I'm trying to use the Stacked Card component with a list variable and appending values dinamically.

But, the component behavior is a little bit strange, It's ignoring the properties, on click or swipe refresh itself. 

Am I doing something wrong?

I attached a sample module.

stacked.oml

Rank: #109

Hi Leandro,

It seems you missed to upload the attachment.

mvp_badge
MVP
Rank: #156

Hi Rui, thanks for answer.

My target is use the Stacked Cards with a variable list and add items dinamically from a user action.

So, I guess that is the problem and unexpected behavior. 

If I don't use the StackedCardsUpdate action, nothing happens, just show me the current item, but there is no swipe behavior.

And when I use, the properties like StackedOptions, ElementMargins has no effect.


As it is a reactive application, wasn't the component expected to reflect the updates of the variable?

Or am I implementing the inverse of the component's functionality, where it must be started with items and from the swipe action the items are removed?


Best regards,

Leandro.