mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 20:33:32 +08:00
fix(accordion-group): do not adjust incorrect values (#26086)
BREAKING CHANGE: Accordion Group no longer automatically adjusts the `value` property when passed an array and `multiple="false"`. Developers should update their apps to ensure they are using the API correctly.
This commit is contained in:
4
core/src/components.d.ts
vendored
4
core/src/components.d.ts
vendored
@ -73,7 +73,7 @@ export namespace Components {
|
||||
*/
|
||||
"requestAccordionToggle": (accordionValue: string | undefined, accordionExpand: boolean) => Promise<void>;
|
||||
/**
|
||||
* The value of the accordion group.
|
||||
* The value of the accordion group. This controls which accordions are expanded. This should be an array of strings only when `multiple="true"`
|
||||
*/
|
||||
"value"?: string | string[] | null;
|
||||
}
|
||||
@ -3814,7 +3814,7 @@ declare namespace LocalJSX {
|
||||
*/
|
||||
"readonly"?: boolean;
|
||||
/**
|
||||
* The value of the accordion group.
|
||||
* The value of the accordion group. This controls which accordions are expanded. This should be an array of strings only when `multiple="true"`
|
||||
*/
|
||||
"value"?: string | string[] | null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user