posit-dev / py-shiny-site

The documentation website for Shiny for Python
https://shiny.posit.co/py/
MIT License
17 stars 17 forks source link

ui.update_radio_buttons doesn't allow for no selection unless choices field is provided #185

Open nvd2291 opened 4 months ago

nvd2291 commented 4 months ago

I'm not sure if this is working as intended but I'm trying to update an input_radio_button group that is dependent on another radio button group. My intention is that whenever another button in a different radio group is selected the currently selected radio button is none. The only way to achieve this when calling ui.update_radio_buttons() is to provide the choices parameter and the selected = "". I would have thought to have no selection you could simply enter selected = "" but it does not update the selected field