Questions tagged [shinywidgets]
177 questions
0
votes
0 answers
Reactive values not updating when actionButton is clicked with shinyjs
I have a Shiny app in which a pickerInput() is updated based on the value selected in another pickerInput().
library("shiny")
library("shinyWidgets")
ui <- fluidPage(
shinyjs::useShinyjs(),
tags$h2("Update pickerInput"),
fluidRow(
…

Wil
- 3,076
- 2
- 12
- 31
0
votes
1 answer
R Shiny dynamic CSS within checkboxGroupButtons
I am unable to dynamically alter the status of checkboxGroupButtons. Please see the following, where the choices alter dynamically, but the status only renders as the final variable within the for loop (in this case 3 is printed repeatedly, as…

Graham
- 176
- 8
0
votes
0 answers
Structuring Shiny Flexdashboard using actionButton, ObserveEvent, and pickerInput
I am looking for advice on how to structure my shiny flexdashboard app. I currently have a sidebar that contains a dateRangeInput() and an actionButton(). Once the action button is clicked a SQL query is run using the dates that were entered. I am…

user3249770
- 329
- 2
- 7
0
votes
0 answers
Shiny flexdashboard filters after data is loaded
I am creating a flexdashboard that has a sidebar with a dateRangeInput() and an actionButton(). Once the date selection has been made and the button has been clicked I am using observeEvent() to run a SQL query with the selected dates and then…

user3249770
- 329
- 2
- 7
0
votes
0 answers
Shiny modules & insertUI/removeUI: storing all module inputs in a data frame
Background: I have an app where the user enters their cancer history. For each cancer type they need to enter 1) the name of the cancer, 2) the age of diagnosis, and 3) a conditional input with a secondary cancer name. Initially, the user sees no…
0
votes
0 answers
Color group buttons in Shiny when clicked
I'm having trouble changing the color of checkboxGroupButton when clicked. There doesn't seem to be any way to do a checkboxGroup in shiny where you can specify the color of the button pre and post click.
The code below will make the boxes change…

Nate Hawkins
- 13
- 2
0
votes
1 answer
Change color of slider using updateSliderTextInput
I am trying to change the color of the slide when updating its values. I have tried different ways without success. The following code does not run, but replicates what I am trying to do:
if (interactive()) {
library("shiny")
…

RRuiz
- 2,159
- 21
- 32
0
votes
1 answer
Create a pickerInput with choices and subchoices based on dataframe columns
I have the dataframe below and I want to create a pickerInput() with Dimension as the main choices and Subdimension as sub-choices like:
pickerInput(
inputId = "p1",
label = "Select all option",
choices = list(Environmental =…

firmo23
- 7,490
- 2
- 38
- 114
0
votes
2 answers
Shiny selectInput/pickerInput with long names should overflow sidebar
I want to built a shiny app with bs4Dash in sidebar layout. The sidebar contains a dropdown selection menu with items that have long names. Once I open the dropdown, I would like the full item name to be visible, i.e. overflowing the dashboard's…

Daniel M Bader
- 55
- 5
0
votes
2 answers
checkboxGroupButton - Select one at a time
I'm trying to create a radiobutton in the style of the checkboxGroupButton() in R shiny.
I want to recreate this example with the same button aesthetics, but only allow the user to select one input at a time.
library(shiny)
library(shinyWidgets)
ui…

Sean
- 57
- 6
0
votes
0 answers
shinyWidgets airDatePicker in DT datatable
I have a shiny app where I want to have an airDatePicker in a DT datatable. So far I'm able to get the airDatePicker showing up for each row of the table, but the language is all wrong. Using language = "en" as an argument doesn't work. I suspect…

Will Hipson
- 366
- 2
- 9
0
votes
0 answers
Unable to get output from selectizegroupui and server
When following the example in the ShinyWidgets documentation for the selectizegroup module, I cannot produce a table with a reactive data set. https://dreamrs.github.io/shinyWidgets/reference/selectizeGroup-module.html
Example here:
if…

ashcrashbegash
- 157
- 11
0
votes
0 answers
Add text on hover to selectInput/pickerInput choices (R Shiny)
Space for each choice in a dropdown menu is limited. We might want to use a shorter title for each of these choices to limit the size of the dropdown, but let to the user the ability to hover on each choice to see on screen the definition of each…

bdbmax
- 341
- 6
0
votes
0 answers
selectizeGroupUI and res_mod for two diffrent data sets but they do have common columns in r shiny?
I have to display two data sets that have 5 commun columns .These 5 columns will be used for filtration in a sidebar. I managed to output every table in a Independent tabset but when i tried to filter out the data sets using those options in the…

samir
- 17
- 5
0
votes
0 answers
Shiny: Why does using bootstrap version 5 change shinyWidgets::checkboxGroupButtons UI html output?
Long story short, I've been trying to get .active pseudo classes to work for some shinyWidgets::checkboxGroupButtons(). I discovered that when in the ui() I set theme = bslib::bs_theme(version = 5), the HTML that is generated for the buttons is…

jzadra
- 4,012
- 2
- 26
- 46