I’m new to WeWeb. How can I configure the Accordion (Expanded Layout) element to only close when clicking the header. Currently, it closes when clicking the content of the accordion as well.
The content of the accordion is a data grid with the preferred ability to click on data within the table.
Luka, how can I tell the accordion to be in the “Open” state based on a variable? The fact that there’s no option to keep the accordion open on page load is a bug in that element IMO, because that is basic expected functionality with an accordion. I just spent hours last night rebuilding my custom built left nav to include accordions, only to find out they display as closed on every page load. My app isn’t published yet, so I’m switching pages in the editor preview. My accordions exist on a Multi-Page element, so if multiple pages use that nave element, I thought pages aren’t reloaded. (I thought that was the whole point of the Multi-page element) am I missing something about how Multi-page elements work?
WRT Multi-page elements, If (In the WeWeb Editor) I switch between 2 pages that share a multi-page element, the editor page is reloading when I switch back and forth between these pages. Is this normal? My app isn’t published yet, so I can’t test it in production.
For anyone else playing with these, I found that the Accordion - value variable in workflows needs to be set to a value of “On” (not just the boolean, true) to be set to open. Then using reset variable correctly closes it (assuming you have init value set to Off)
For anyone coming with a similar problem, a simple recreation of the accordion causing the problem solves the situation. However, if you experience any problems please report them to me.