Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

225
Views
Collapse all v-expansion-panels when parent expansion panel is collapsed

I have a expansion panel inside of another expansion panel. When I close the parent expansion panel the child one does not close. How can I close every expansion panel when the parent expansion panel is closed. The child expansion panels are inside a template that is used in an app.

Here is an example

<v-expansion-panels accordion>
    <v-expansion-panel v-for="(user, i) in users" :key="i">
        <v-expansion-panel-header>
            Main Header
        </v-expansion-panel-header>
        <v-expansion-panel-content>
            <all-user-details :current_user="user"></all-user-details>
        </v-expansion-panel-content>
    </v-expansion-panel>
</v-expansion-panels>

And here is the "all-user-details"-component;

<v-expansion-panels>
    <v-expansion-panel>
        <v-expansion-panel-header>
            Header 1
        </v-expansion-panel-header>
        <v-expansion-panel-content>
            Content 1
        </v-expansion-panel-content>
    </v-expansion-panel>

    <v-expansion-pane>
        <v-expansion-panel-header>
            Header 2
        </v-expansion-panel-header>
        <v-expansion-panel-content>
            Content 2
        </v-expansion-panel-content>
    </v-expansion-panel>
</v-expansion-panels>
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!