How to dynamically hide/show a lightning-accordion-section?
How would I create an aura component on an opportunity page layout with 6 accordion sections, one for each opportunity stage, and automatically hides all sections except the one related to the current stage?
If the opportunity is currently in Stage 3, the accordion menu would display:
> [Stage 1 Header] > [Stage 2 Header] V [Stage 3 Header] ....content.... ....content.... > [Stage 4 Header] > [Stage 5 Header] > [Stage 6 Header]
Then, without a page refresh required, when the stage changes to "Stage 4", it would automatically collapse the Stage 3 section, and open the Stage 4 section.