Fixed multiple accordion demo

pull/5806/head
Cagatay Civici 2024-05-30 03:07:32 +03:00
parent 5b608615bf
commit 62438a09d6
1 changed files with 4 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<p>Only one tab at a time can be active by default, enabling <i>multiple</i> property changes this behavior to allow multiple panels. In this case <i>value</i> needs to be an array.</p> <p>Only one tab at a time can be active by default, enabling <i>multiple</i> property changes this behavior to allow multiple panels. In this case <i>value</i> needs to be an array.</p>
</DocSectionText> </DocSectionText>
<div class="card"> <div class="card">
<Accordion value="0" multiple> <Accordion :value="['0']" multiple>
<AccordionPanel value="0"> <AccordionPanel value="0">
<AccordionHeader>Header I</AccordionHeader> <AccordionHeader>Header I</AccordionHeader>
<AccordionContent> <AccordionContent>
@ -42,7 +42,7 @@ export default {
return { return {
code: { code: {
basic: ` basic: `
<Accordion value="0" multiple> <Accordion :value="['0']" multiple>
<AccordionPanel value="0"> <AccordionPanel value="0">
<AccordionHeader>Header I</AccordionHeader> <AccordionHeader>Header I</AccordionHeader>
<AccordionContent> <AccordionContent>
@ -75,7 +75,7 @@ export default {
options: ` options: `
<template> <template>
<div class="card"> <div class="card">
<Accordion value="0" multiple> <Accordion :value="['0']" multiple>
<AccordionPanel value="0"> <AccordionPanel value="0">
<AccordionHeader>Header I</AccordionHeader> <AccordionHeader>Header I</AccordionHeader>
<AccordionContent> <AccordionContent>
@ -113,7 +113,7 @@ export default {
composition: ` composition: `
<template> <template>
<div class="card"> <div class="card">
<Accordion value="0" multiple> <Accordion :value="['0']" multiple>
<AccordionPanel value="0"> <AccordionPanel value="0">
<AccordionHeader>Header I</AccordionHeader> <AccordionHeader>Header I</AccordionHeader>
<AccordionContent> <AccordionContent>