bestguy / sveltestrap

Bootstrap 4 & 5 components for Svelte
https://sveltestrap.js.org
MIT License
1.3k stars 180 forks source link

Components should have the option to hide and not destroy #511

Open thinkerwisdom opened 1 year ago

thinkerwisdom commented 1 year ago

Tabs, Accordions and Modals, should have some configurable option to prevent destruction upon changing tab, collapsing accordion, or closing modals which can be very important to preserve the state of the information.

jewkub commented 8 months ago

Is there any current workaround to this issue? I need to use Collapse (actually Accordion) to collect data in form so when client hide the Collapse, the data should all be preserved to post submit by the form. Thanks.