'Select all' checkbox should select all options in a form multiselect

@edsaac I’m wondering if you could help me out here? I saw your comment on this thread: Updating radio inside a form - #4 by edsaac . I copied and pasted your code into the Streamlit Playground ( Playground • Streamlit ) and it works just like in your screen recording, and yet when I try the exact same thing locally or in my own Streamlit app, toggling between the “Plants” and “Animals” radio buttons has no effect at all.

(I’m on Streamlit 1.49.0. I’ve tested both on Firefox 143.0.4 and Chrome 141.0.7390.55.)

Any ideas? Thank you!