Welcome to the Blazor feedback portal. We’re happy you’re here! If you have feedback on how to improve the Blazor, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
I have an SfAccordion component that has a loop generating the AccordionItems for the user, shown in the screenshot below:
I would like to use EnablePersistence to display this data, but the values that are stored in localStorage are only the numeric indices of the AccordionItems.
This "works" in that it will reopen the accordion item on reload, but it isn't robust for programmatic AccordionItem generation, since the data that is loaded in may have the items in a different order or have more or fewer objects.
I attempted to set a unique Id for each AccordionItem that would tag them in a way that could be recreated consistently, but the AccordionItem Id is not pulled in to local storage.
Is there a way to use EnablePersistence with unique Ids for the Accordion items?