Thank you for the quick response. I can do this way but the problem here is : Onclick event i will need to configure on the layout actionset. Which means click on anywhere in the layout, the activity/DT is triggered and the value is set. But that should not happen for me. Only on collapse/expand, i should have that activity/DT triggered and flag set.
I am using PEGA 7.1.8 just fyi..
Hope i understood your suggestion in right way. Correct me if i am missing anything here.
Posted: 4 years ago
Posted: 29 Mar 2018 0:55 EDT
Rachit Agarwal (Rachit_Agarwal)
Principal Engineer, Technical Support - User and Product Experience
Agreed. Knowing the status of a collapsible header is a logical need. I think this goes hand in hand with tying actions directly to the header itself.
I'm currently attempting to nest inputs in collapsible layouts and want to expand them when they contain errors while otherwise respecting their current status. Ideally, I would say something along the lines of `expand when: hasMessages || isExpanded` which is nearly possible if I could reliably get/set that status.