Questions tagged [shinywidgets]

177 questions
0
votes
1 answer

Shiny checkboxGroupButtons css for different color when checked

I would like to have individual checkboxes that are part of a group change color when they are checked. I've been able to style them when unchecked and when they are hovered, but the pseudoclass for checked doesn't seem to work. The pseudoclass for…
jzadra
  • 4,012
  • 2
  • 26
  • 46
0
votes
1 answer

How do I put a reactive subset of data into renderplot?

I am new to Shiny and have been trying to learn in my spare time. I have a dataframe of Fantasy Football statistics that I am trying to plot based on selectinput()'s and sliderbar()'s. I used renderprint() to ensure my inputs and correct when the…
0
votes
1 answer

pickerInput names and values from dataframe R Shiny

I'm not sure if I'm just not searching the right thing, but I'm not able to find an answer. I have a Shiny dashboard which has a picker to subset dataframe columns. I have another dataframe which contains two columns: The column name to appear in…
anorlondo
  • 383
  • 1
  • 9
0
votes
1 answer

Is there a possibility to update the step parameter in noUiSliderInput or to make it depend on min and max?

Is there a possibility to update the step parameter in noUiSliderInput or to make it depend on min and max. It would also work to have a possibility to set that we want 10 steps for instance. Thanks. Here is a reproducible example inspired from the…
0
votes
1 answer

Shiny serverside suggestions according to user typing

I would like to update the choices of a pickerInput according to what the user starts typing. Similar to what happens when you start typing with Google. The suggestions have to be handled serverside. Below is my code. The problem is that what the…
Martin
  • 1,141
  • 14
  • 24
0
votes
1 answer

Remove/hide or update a Bootstrap panel from shinyWidget

In order to make an app where panels are created dynamically, I would like to remove, hide and/or update panels from the package shinyWidgets. I didn't find any function to do so nor way to add IDs to these panel. If you have the solution or a way…
sbenateau
  • 67
  • 10
0
votes
1 answer

How to use callbackJS in shinyWidgets?

I used to use in Shinyalert, but because there are some bugs I try to use in shinyWidgets (ask_confirmation). In Shinyalert I used callbackJS to know if the user click on OK or on Cancel, but it is not working in…
asdf1212
  • 389
  • 2
  • 11
0
votes
1 answer

How to style RShiny switchInput when it is inside a uiOutput?

I've previously used the following style tags in my UI to style a switchInput from ShinyWidgets: #switchInput color while on tags$head(tags$style(HTML('.bootstrap-switch .bootstrap-switch-handle-off.bootstrap-switch-danger, …
Jamie
  • 401
  • 3
  • 11
0
votes
1 answer

shinyWidgets::pickerInput not working as expected when used in conjunction with semantic.dashboard

I wanted to inquire about possible solution(s) for the following issues encountered when using shinyWidgets::pickerInput in combination with semantic.dashboard: visual output in UI, created using pickerInput, is not a dropdown menu when clicking…
Aex
  • 131
  • 1
  • 11
0
votes
0 answers

Is multiple selection in UpdatePickerInput() possible?

Is there a way to activate multiple selection in updatePickerInput()? library("shiny") library("shinyWidgets") ui <- fluidPage( tags$h2("Update pickerInput"), fluidRow( column( width = 5, offset = 1, pickerInput( …
firmo23
  • 7,490
  • 2
  • 38
  • 114
0
votes
0 answers

R shiny: selectizeGroupUI does not line up correctly

Im new to R shiny and have ran into a weird issue. Im using a selectizeGroupUI function to have some filter inputs in the UI. for some reason one of my filter options always lines up oddly. Ive attached the code from my UI below along with a…
0
votes
0 answers

Shiny Widgets SwitchInput

According to the technical documentation here, the switchinput I'm using should default to TRUE at start. I'm just copying in the code from example. In the example code below, it defaults to FALSE. Any obvious reason why or does it seem…
dhc
  • 625
  • 1
  • 6
  • 14
0
votes
1 answer

Can I force a shinyTree to be loaded when the app is started?

Summary: When I put a shinyTree (from the R package of the same name) in a dropdownButton (from the shinyWidgets package), it seems that the tree in question is not accessible from the input variable until the user has interacted with the tree in…
Yiab
  • 21
  • 1
0
votes
0 answers

How reconcile Shinyvalidate sv_between and numericInput range

Clarification for @ismirsehregal If I set num_min to zero in Field A and then increment Field B then Field A shows the red "!" even though zero is valid. Original Question Both fields require numbers >=0 and < 300 Empty fields, spaces, ".", "e" are…
ixodid
  • 2,180
  • 1
  • 19
  • 46
0
votes
2 answers

Set the maximum number of choices made by pickerInput()

Im trying to limit the max number of choices made by pickerInput() to two in shiny app but I cannot make it work. library(shiny) library(shinydashboard) library(plotly) library(shinyWidgets) header <- dashboardHeader() sidebar <- dashboardSidebar( …
firmo23
  • 7,490
  • 2
  • 38
  • 114