Skip to main content
100%

Shiny : Bug with updateSliderInput()

✓ Published0🌍 Public
RRCura
Last edited Aug 18, 2014
Created on Aug 18, 2014

This Shiny application demonstrates a bug in dynamic tab creation where `updateSliderInput()` fails to properly synchronize the displayed value. It shows an interactive interface with a sidebar for adding “select” or “slider” tabs, each containing an input and a reactive text output. The code uses Shiny’s `renderUI`, `observe`, `reactiveValues`, and `updateSliderInput`/`updateSelectInput` APIs, along with `tabsetPanel` and `tabPanel`, to manage dynamically generated tabs whose settings are stored per-tab. The bug manifests when a slider tab’s value is changed, as the renderUI does not reflect the update.

AI-generated description

Similar vizzes