formio.js
formio.js copied to clipboard
[Question] How to collapse or expand the panel component based on data inside it?
Hello everyone!
How to collapse or expand the panel component based on data inside it? If a user enters some data to components inside the panel component then it should expand, else collapse.

Best Regard.
I guess we can set any component's property dynamically by using trigger event.
- use javascript trigger type & set result = data['yesComponnet']?true:false
- use property as action type & set the collapsible prop true/false
We're currently addressing a backlog of GitHub issues. Closing this thread as it is outdated. Please re-open if it is still relevant. Thank you for your contribution!