rabbibotton / clog

CLOG - The Common Lisp Omnificent GUI
Other
1.48k stars 101 forks source link

Destroy is not applied to child elements #311

Closed sabracrolleton closed 5 months ago

sabracrolleton commented 9 months ago

My specific example: create a clog-select box with a label, then call destroy on the select box. The select box itself is destroyed but the label is left as an artifact on the browser with no obvious (to me) way to get rid of it.

I am not using builder and I use destroy in progressive dialog boxes.

rabbibotton commented 5 months ago

Can you give me an example? Most likely the label is not a child on the DOM to the select box. You can put both in div and delete the div and then both should be destroyed with destroy.