Questions tagged [shinywidgets]

177 questions
2
votes
1 answer

Problem with acccesing single input in selectizeGroupUI from shinyWidgets

So this is great example of how selectizeGroupUI and Server works. All of the filters are interactive and choices are update based on other filters selections. But I would like to access for example value like: input$var_two and etc. to use in other…
M. Siwik
  • 486
  • 7
  • 17
2
votes
1 answer

How to change bold font size to the headings of groups in pickerInput() of shinyWidgets package?

I'm building an RShiny-App and now I'm formatting some parts, so they are more readable. I use pickerInput() and want to make the headingsDE and AT bold. I'm using the following R-code: pickerInput(inputId = "ma3DVariables", label = "Select 2…
MikiK
  • 398
  • 6
  • 19
2
votes
2 answers

How to apply css style to actionBttn from shinywigets in shiny

I have an example shiny app as below. In order to the actionButton with selectInput, I need to add style='margin-top:25px'. Shinywidgets package has actionBttn widgets with some built-in style. For example, I like the one with style='gradient'. …
zesla
  • 11,155
  • 16
  • 82
  • 147
2
votes
1 answer

R Shiny - Updating the value of a selectInput and progressBar simultaneously

The app below contains an actionButton, a shinyWidgets::progressBar and a selectInput: When the Start button is clicked, an observeEvent is triggered in which I loop through the numbers 1-10 and increment the progress bar at each iteration. I would…
user51462
  • 1,658
  • 2
  • 13
  • 41
2
votes
1 answer

Keep current month selected in shinyWidgets::airMonthinputPicker()

I am using the airMonthpickerInput() function from the shinyWidgets package. For my particular application, the start value (month) is February 2019 (as defined in value = as.Date("2019-02-01"). This displays correctly, given the code…
Simon
  • 991
  • 8
  • 30
2
votes
0 answers

Rotating pickerinput hidden dropdown

I am trying to rotate pickerinput so that the yaxis selection is right next to it. I am attaching two examples: Using shinyWidgets::pickerInput Using shiny::selectInput How do I make the pickerinput dropdown not be hidden behind the plot or…
Gibran
  • 63
  • 4
2
votes
0 answers

default initial value for input with SelectizeGroup

I'm using the amazing shinyWidget package inside a shiny app and specifically i'm playing around with SelectizeGroup function in order to create a group of SelectizeInput in order to filter a data.frame. Is there a way to specify a default value for…
Marco Fumagalli
  • 2,307
  • 3
  • 23
  • 41
2
votes
1 answer

picketInput change placeholder R Shiny Widgets

pickerInput from shinyWidgets package has a placeholder title Nothing selected. How is it possible to replace it with Pick a choice for example ? I would prefer a solution that uses css or the options of pickerInput, if possible avoid…
Clemsang
  • 5,053
  • 3
  • 23
  • 41
1
vote
1 answer

Shiny Reactive materialSwitch dplyr filter

I am trying to use a materialSwitch from shinyWidgets to control a dplyr filter that catches text in a certain column using grepl. Currently my code looks like this: pickerInput( inputId = "status", label = "Status:", choices =…
user3249770
  • 329
  • 2
  • 7
1
vote
2 answers

materialSwitch does not work inside a renderUI

I'd like to use shinyWidgets::materialSwitch instead of a checkbox in my app for an improved UI. However, I can't seem to get materialSwitch to work when used with renderUI/uiOutput. The input displays properly but doesn't seem to register a click…
Jamie
  • 1,793
  • 6
  • 16
1
vote
1 answer

shinyWidgets pickerInput width issue overflow off sidebar

I am using shinyWidgets pickerInput within a flexdashboard sidebar. My issue is that when the options in the pickerInput are too wide they get cut off within the width of the sidebar which makes it so you cannot read the options, see which are…
user3249770
  • 329
  • 2
  • 7
1
vote
0 answers

Initialize filters of SelectizeGroupUI with the first value

Does anyone know if it is possible to initialize the filters defined in the selectizeGroupUI with the first value in each of the filters? Something like the "selected" option in the selectInput. Let's say I have the following code: if…
DART
  • 11
  • 2
1
vote
1 answer

How to globally supply css to each radioGroupButtons widget in a shiny app

I have this minimal example adapted from here R shiny radiogroup Button change color: library(shiny) ui = fluidPage( radioGroupButtons( # status = "primary ", ## you can change status value to change to select few colors inputId…
TarJae
  • 72,363
  • 6
  • 19
  • 66
1
vote
1 answer

How to change the color of picker input label shinyWidgets?

How do i change the color of the label in a pickerInput from shinyWidgets package? I want to change the color of "Product" to "white". I found only how to change the backround color and the color of the other text. Where do i have to include the…
Philipp Schulz
  • 131
  • 1
  • 8
1
vote
1 answer

Shiny - Limit date range selection to X number of days

I need an excact 2 day range for ShinyWidgets airDatepickerInput. Meaning I can only select 1 day in front of the first date selected. How to update maxDate and minDate options for input$Dates[2] to be reactive and equal input$Dates[1] + 1 Are there…
Brad
  • 580
  • 4
  • 19
1 2
3
11 12