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:
Liam DeBeasi
2022-10-10 09:20:52 -05:00
committed by GitHub
parent 34c4137868
commit e2cbeeb8ac
5 changed files with 24 additions and 75 deletions

View File

@ -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;
}