You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, if we want to remove a block, we click on the block remove button which is input$<stack_ID>_<block_ID>_remove. However, this is not very convenient to handle on the server side since we have to setup many observeEvent (one per button) and this is not ideal when adding new blocks. I would prefer having a single input$<stack_id>_block_remove which holds the index of the block to remove. Ideally, when we click on any remove button, we call Shiny.setInputValue('<stack_id>_block_remove', block_index) in an onclick event. This would allow to get rid of the "last "input changed" workaround.
Currently, if we want to remove a block, we click on the block remove button which is
input$<stack_ID>_<block_ID>_remove
. However, this is not very convenient to handle on the server side since we have to setup many observeEvent (one per button) and this is not ideal when adding new blocks. I would prefer having a singleinput$<stack_id>_block_remove
which holds the index of the block to remove. Ideally, when we click on any remove button, we callShiny.setInputValue('<stack_id>_block_remove', block_index)
in anonclick
event. This would allow to get rid of the "last "input changed" workaround.Let me know what you think @JohnCoene
The text was updated successfully, but these errors were encountered: