Questions tagged [selectinput]
209 questions
0
votes
1 answer
Can't get form to validate required select input
Created this very simple code to replicate my issue. Form will not submit if input text has no value (correct). But it will submit if select input not chosen (incorrect). I'm probably missing something very basic here, but I don't know what.
Edit:…

Katie P
- 583
- 1
- 6
- 12
0
votes
2 answers
VUEJS Set select default values according to api response property values (displays undefined)
I have a user card list that displays some properties of the user (obtained with axios api call). On click edit button, an edit page is opened and those same list items are passed to this new page, but now become text inputs, radio buttons or…

the_flucs
- 217
- 1
- 6
- 21
0
votes
2 answers
How to supress code from showing up in Shiny UI?
It should be easy to prevent "London" showing up at the top of the page, but I couldn't find how.
library(shiny)
ui <- fluidPage(
mainPanel(
mylist <- c("London","Paris"),
selectInput("s", "Select", mylist)
)
…

armtar
- 125
- 12
0
votes
1 answer
How to make related server-side selectize UI elements in R Shiny application?
I have R Shiny application with two UI selectors where each one has a big list of items. I know how to make server-side element for one element. But how to make two related server-side 'selectInput' elements. So, when exist a change in one element -…

Andrii
- 2,843
- 27
- 33
0
votes
1 answer
How can I select a specific column from a data frame in R using selectInput?
I would like to select the options from the drop-down list, which are stored as different attributes in my data frame and use the slider to change the years, so that I could see its effect on the valueCard. Where I am stuck is, to find out, how the…

Advait Kulkarni
- 15
- 1
- 10
0
votes
1 answer
R Shiny - Select City depend on selected Province with selectInput
I am trying to subset a data frame base on the Province column and the City column. In shiny, I want to let the user choose the province then the city, with the selectInput UI.
Heres what the data frame looks like.
ColumnInfoTemp[2] is the city,…

SaferSky
- 37
- 4
0
votes
0 answers
How to prevent updateSelectInput from defaulting to first value?
I currently have three inputs that are all dependent on each other. Each successive input is updated based on the value of the previous selection. The code for this is as follows:
library(dplyr)
library(shiny)
metric <- c('Opioid prescribing…

ANam
- 337
- 2
- 15
0
votes
0 answers
R Shiny filtering
What i want to achieve that user can flexiblely disable/enable 2nd level filters id2('Resource') and id3('Case'):
id2('Resource') and id3('Case') enabled: program show relevant result based on id1, id2 and id3 filters
id2('Resource') and…

Jassen
- 13
- 5
0
votes
1 answer
In Shiny, avoid overlap of selectInput dropdown with action button underneath it
This seems like a very simple question, but I have searched and searched!
I am using selectize to select multiple items from a list in a selectInput dropdown menu. Below it I have a Submit button to perform some action on the list. As you add…

OrbitSoldier
- 3
- 2
0
votes
1 answer
R Shiny Dynamic select input - capture event
I am using renderUI to create dynamic textboxes and dropdown on my UI. I want to capture the event of change in the textbox / dropdown and modify the data frame
Below is the code to create the UI
server <- function(input, output, session){
…

Ankit
- 6,388
- 8
- 54
- 79
0
votes
2 answers
How can I use the column names of a csv file as input selection?
I created a Shiny App, which accepts Excel and csv files as input. It furthermore, should forecast a metric which can be found in the uploaded file. To be able to define the right column in the file, the user should be able to select the column…

nississippi
- 327
- 2
- 17
0
votes
1 answer
How to select multiple input case using if statement in Shiny?
I am developing a shiny application to visualize earthquakes better. I have got two attributes which are depth and magnitude and want to draw 3 different plots according to only depth, only magnitude and selection of both. However I can not select…

Cengover
- 89
- 13
0
votes
1 answer
combine two selectbox values in r shiny
I need to combine two select box values in R shiny.
Select box 1 have year, select box 2 have month.
If user select 2018 and 06, I should get 2018-06 into a variable.
I tried paste(input$year,input$month,sep="-") But it is not working.

qwww
- 1,313
- 4
- 22
- 48
0
votes
1 answer
Shiny align Input controls right or left
I have three input controls and want to align one at the left side and two at the right side of the page in a shiny application. Furthermore, the two selectInput controls have to be side by side which I solved using the code fome this answer.
Using…

Roman
- 17,008
- 3
- 36
- 49