Adding a toggle to a section, where to begin?
I would like to add a toggle to a section header, and when toggled true/on the section is opened (basically the same functionality as collapsible). However, the form content of the section should not be dehydrated when it's collapsed/closed. Where do I begin? How do I signal to the content that it should somehow be ignored when collapsed, and how do I replace the caret with a toggle and that it still works?
Could use some pointers!
0 Replies