Questions tagged [shinywidgets]
177 questions
0
votes
1 answer
Match flags with countries in a multi.js input of shiny app
I have the dataframe below with the multi.js input with flags and countries. As you will see it is obvious that the countries do not match with glags displayed. How can I fix that?
library(shiny)
library(shinyWidgets)
countries_df <-…

firmo23
- 7,490
- 2
- 38
- 114
0
votes
1 answer
Load countries flags to be displayed in multi.js for many countries in a shiny app
I have the shiny app below in which I create multi.js input with country names and flags. Now vector country works but fos specific countries and names for example de instead of Germany but what if I have a vector like countries2 with different and…

firmo23
- 7,490
- 2
- 38
- 114
0
votes
1 answer
Create a multi.sj shiny widget with country flags in shiny app
Im trying to create a multi.js shiny widget like this here. But I miss the flags object. Anyone knows where can I find and load it?
library(shiny)
library(shinyWidgets)
countries<-c("Belgium","Greece","Brazil")
ui <- fluidPage(
multiInput(
…

firmo23
- 7,490
- 2
- 38
- 114
0
votes
0 answers
R shinyWidgets airdatepicker with different colors for different options
I have a shiny app where the user can select different options for different dates (think of it as food-options for a day, eg only one option per day, but it could be option A for Monday and option B for Tuesday).
At the moment an interactive…

David
- 9,216
- 4
- 45
- 78
0
votes
1 answer
Update Radio buttons using a Reactive Value fed to a Module, R Shiny
I am building a shiny app and will have the same radio button inputs on multiple pages that will change what is shown on the page. I am putting these radio buttons inside a module so I don't have to reproduce that code in multiple places. They will…

TTS
- 1,818
- 7
- 16
0
votes
1 answer
How to use Fluent UI icons in ShinyWidgets
I have a problem using fluent UI icons in "shinyWidgets" Packages.
I can't access fluent UI icons using tags$i() and checkboxGroupButtons() in contrast to Fontawesome and Glyphicon icons
please let me know if you have any…

BJK
- 153
- 5
0
votes
1 answer
want to create custom numericRangeInput with similar arguments
I am making a custom numericRangeInput with the same functionality as the one from [shinyWidgets] for aesthetic reasons.1 However, I am having trouble mimicking this one argument.
I would like one inputId for the whole component where I can call…

niceguy
- 137
- 6
0
votes
1 answer
Accessing values in multiple pickerInput values in r shiny
I am trying to use each values selected in a pickerInput control in r shiny app. I have a sample code as follows:
library(shiny)
library(shinyWidgets)
ui <- fluidPage(
pickerInput(inputId = "testPicker",
label = "Select Multiple",
…

BWO
- 95
- 2
- 6
0
votes
1 answer
Retaining existing selection in filtered shiny plotly scatter plot
I'm attempting to make a filtered scatter plot in shiny and am nearly ready to integrate it into my main project, however, whenever the selection changes the filter-dependent selections reset to their default settings.
For context my example uses…

Nicholas Darden
- 45
- 1
- 6
0
votes
1 answer
Label does not display for sliderTextInput
I am using the sliderTextInput widget from the shinyWidgets package. The slider works fine, but my label for the slider is not displayed. Instead of my label, "[object Object]" is displayed. How can I correct this problem? Here is my reprex.
#…

Phil Smith
- 430
- 2
- 12
0
votes
0 answers
shinyWidget doesn't run on R Shiny server
I have a dashboard that uses shinyWidget package, when I run the dashboard locally, it works fine, however when I put the dashboard on R shiny server, an error occurs. I narrowed it down and it seems the problem is with the loading of shinyWidget…

Zanboor
- 33
- 7
0
votes
1 answer
how to pass a date from server to ui so i can use it in airDatepickerInput
my shiny server has a dataset with dates on it. I created a variable that gets the max date and i require to pass it to the UI so i can use it as a maximum limit on the calendar. Im having issues with this. df is outside the server part of the…

Andres Mora
- 1,040
- 8
- 16
0
votes
1 answer
R Shiny how can i updateProgressBar inside a function?
I'm new here, sorry for any mistakes.
I have the following code working:
library(shinydashboard)
library(shinyWidgets)
#### Header ####
header <- dashboardHeader()
#### Sidebar ####
sidebar <- dashboardSidebar()
#### Body ####
body <-…

49328481
- 3
- 1
0
votes
1 answer
How to reduce size of button below xs in shiny?
I want to add information buttons to my app that display a tooltip when hovered over. I have a working code but the size of the buttons is too large. Is there some way this can be edited through css, or a button that is more customisable…

Quinn
- 419
- 1
- 5
- 21
0
votes
1 answer
How to make switches exclusive in Shiny?
In Shiny I would like to have two (pretty)Switches that I can leave:
deselected,
or selected only one at a time.
The desired behavior would then be that the 1st switch being TRUE automatically sets the value of the 2nd one to FALSE. And…

fzenoni
- 108
- 1
- 9