observeEvent() handler for all your button and anchor clicks. This week I needed disabled buttons, which are easy to do visually by adding the Bootstrap
disabled class to the button. But the buttons still responded to being clicked.
Continue reading “Shiny button observer update: ignoring clicks on disabled buttons”
<a id="xxx">). Anchor tags are typically used to create links and include an href attribute that holds the URL of the linked document.
Continue reading “Adding anchors to our Shiny button observer”
One of the profound limitations of Shiny is the way it supports buttons. Buttons are based on a function called actionButton(). When a button is clicked, Shiny reports the click on input$button_id. Every button has to have a unique id, which means that each button also has to have its own observer to watch for a click. But what if you want to do something like this: