Questions tagged [shinywidgets]
177 questions
1
vote
0 answers
How to get a SHIFT-selection with pickerInput
I am wondering if it is possible to "fake" a SHIFT-selection or drag-selection with pickerInput from shinyWidgets?
Basically in the example below I would like to select all letters from A to G with 2 mouse-clicks, by clicking on A, then with SHIFT…

SeGa
- 9,454
- 3
- 31
- 70
1
vote
1 answer
Improve app speed with `pickerInput` size options
I 'm developping a Shiny App with the shinyWidgets package for doing my selectInput.
I have many modalities for the inputs variable which cause some bugs.
I reduced the size of the picker (size argument) and if possible show only 10 first options of…

Mostafa90
- 1,674
- 1
- 21
- 39
1
vote
0 answers
How to disable multiple selections in checkboxGroupInput in shiny app
I have a checkboxGroupInput in my shiny app. It seems that the multiple selection is always enabled. What I need is to disable the multiple selection and only allow one selection at a time.
Does anyone know how to do that? Shiny app example below:…

zesla
- 11,155
- 16
- 82
- 147
0
votes
2 answers
Is it possible to reduce space around shinyWidgets radioGroupButtons and shiny fileInput?
Is it possible to adjust space around specific instances of radioGroupButtons and fileInput?
For example, how could the fileInput1 and radioGroupButtons1 be made stacked and immediately adjacent to each…

matt
- 318
- 3
- 11
0
votes
1 answer
How to build a Shiny pickerInput with unclickable subtitles that group options together
I have a simple Shiny app that includes a pickerInput with 8 options. Some of the options belong to the same group in that they are similar. Therefore, I would like to include a header above a group of options, without the header being an option…

Wander Demuynck
- 73
- 4
0
votes
1 answer
How to replace choices of PickerInput with "all" when all of them are selected and display them only if "all" is clicked?
In the shiny app below when all pickerInput() choices are selected then instead of their names as choices inside the pickerInput() I would like to display the word "all" as choice and when you click on it, then all three choices shall be displayed.…

firmo23
- 7,490
- 2
- 38
- 114
0
votes
1 answer
pickerInput with multiple = TRUE and mobile = TRUE
I'm creating a responsive Shiny app and I would like the pickerInputs to adopt the OS's native picker format when a user access it from a mobile in order to prevent the choices being cut off when the screen is smaller, for which I am using mobile =…

anorlondo
- 383
- 1
- 9
0
votes
1 answer
shinyWidgets pickerInput in DT datatable with liveSearch
I would like to insert pickerInputs from shinyWidgets in a DT datatable in a Shiny app. However, the liveSearch option is not working for me when rendered inside a datatable. Also, when I have a separate pickerInput outside of the datatable…

Ben Ernest
- 445
- 3
- 14
0
votes
1 answer
Dropdown functionality of shinyWidgets::pickerInput inside bslib::page_navbar does not work
I have a small reprex of this issue:
# R v4.2.3
# RStudio Pro v2023.06.0
library(shiny) # v1.7.2
library(bslib) # v0.5.0
library(shinyWidgets) # v0.7.6
page_navbar(
header = pickerInput('pickId', choices = month.abb),
title = 'reprex',
…

michael
- 153
- 1
- 11
0
votes
2 answers
Creating tooltip for radioGroupButtons while using bslib
I want to get a tooltip for a shinywidgets::radiogroupButton (or shiny::radioButton) that warns the user about the consecuences of choosing each option, sepparately. I want to achieve the exact same output mentioned in this answer. The problem is…

Carlos J. Daboin
- 3
- 1
0
votes
1 answer
Is it possible to style shinyWidgets radio buttons with CSS while using bs_theme?
I'd like to style particular radio buttons while using bslib themes, but they are unaffected by my rules. Why is this?
For example,
library(shiny)
library(bslib)
library(shinyWidgets)
theme = bs_theme(version = 5, bootswatch = "minty")
ui =…

matt
- 318
- 3
- 11
0
votes
1 answer
Problem with updatePickerInput() when selecting the first option
While creating a form with CRUD functionality in my Shiny app, I encountered a situation that when I used the updatePickerInput function it would not work correctly when selecting the first input.
I have created a reproducible sample app that shows…

Jochem
- 3,295
- 4
- 30
- 55
0
votes
1 answer
change pickerinput background color
pickerInput(
inputId = "brand",
label = "Brand",
choices = unique(df1$Brand),
selected = "Kanzler",
options = list(
`actions-box` = TRUE,
style = "background-color: #eaeaea; color: black; font-weight: bold;"
),
…

Muhammad Rafif
- 43
- 4
0
votes
1 answer
In Shiny/R how can I create a checkbox Input with categories?
I would like to create a checkbox input organized by continents and inside each continent the clickable options would be the countries.
I need to use this checkbox with pickerinput option from shinyWidgets package.
This is what I tried but its not…

Laura
- 675
- 10
- 32
0
votes
1 answer
prettySwitch rendering as checkbox
I've got a simple app which should have a 'prettySwitch' widget in each row of a reactive table, but for some reason the widgets are displaying as checkboxes.
Here is the code:
library(shiny)
library(shinyWidgets)
library(DT)
Labels <- c(
…

triphook
- 2,915
- 3
- 25
- 34