Skip to content

Commit 10eabb3

Browse files
committed
chore(accordion-group): resetting accordion group changes since they weren't really doing anything
1 parent 31bda9d commit 10eabb3

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

core/src/components/accordion-group/accordion-group.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,12 +88,17 @@ export class AccordionGroup implements ComponentInterface {
8888
*/
8989
printIonWarning(
9090
`[ion-accordion-group] - An array of values was passed, but multiple is "false". This is incorrect usage and may result in unexpected behaviors. To dismiss this warning, pass a string to the "value" property when multiple="false".
91+
9192
Value Passed: [${value.map((v) => `'${v}'`).join(', ')}]
9293
`,
9394
this.el
9495
);
9596
}
9697

98+
/**
99+
* Do not use `value` here as that will be
100+
* not account for the adjustment we make above.
101+
*/
97102
this.ionValueChange.emit({ value: this.value });
98103
}
99104

0 commit comments

Comments
 (0)