Questions tagged [selectinput]
209 questions
2
votes
1 answer
Select Dropdown Input control for ReactJS doesn't show value on the iPhone
I have a problem with the iOS operating system (iPhone). Select dropdown input control for ReactJS doesn't show value on the iPhone. Webpage and Android are no problems. Below are my coding:
const [durationHour, setDurationHour] = useState("0");
var…

Fatt Sky
- 650
- 3
- 11
2
votes
1 answer
How to update a SelectizeInput depending on a textInput in Shiny
I have create one app that contains a textInput and a selectizeInput. Depending on the user's input and if the input can be found in one dataset, you will see all the possibilities according to that textInput in the selectizeInput.
In this way, if…

emr2
- 1,436
- 7
- 23
2
votes
2 answers
How to make selectInput choices reactive?
In my code I use two selectInput() functions: one for the indicating the start period to feed into a custom function, and another for indicating the end period to feed into the same custom function. At the bottom is a simplified MWE extract of the…

Curious Jorge - user9788072
- 2,548
- 1
- 9
- 22
2
votes
1 answer
How to add a spinner before a selectizeInput has loaded all the choices? [Shiny]
I want to make an app with 2 actionButtons: 1) to submit the changes before loading a selectizeInput and 2) to draw the plot.
I know how to add a spinner after clicking a actionButton but the majority of the cases is added when you want to show the…

emr2
- 1,436
- 7
- 23
2
votes
0 answers
R shiny: Tooltip on scatter plot when selecting item from selectizeInput
I am editing this question to make it a little bit clearer.
I am new to Shiny. I have the MWE below, adapted slightly from https://gitlab.com/-/snippets/16220 and using mtcars data.
It works as intended to show a tooltip for each point in the…

DaniCee
- 2,397
- 6
- 36
- 59
2
votes
1 answer
R/Shiny: Populate SelectInput Options using Headers From Uploaded File
I'm trying to build a page using R Shiny that has:
A File Widget for uploading CSV files
A SelectInput component
I'd like to use these as follows:
Upon uploading a valid CSV file, populate the SelectInput whose options are the headers from the…

JRomeo
- 171
- 1
- 8
2
votes
1 answer
How to limit the number of options a user can select with selectInput in R shiny when multiple is true?
I have a Shiny app, and I want users to be able to select multiple options--but only up to a certain limit. I can't find a way to limit the numbers.
Below is a simple, reproducible example. In it, I was users to only be able to select up to 2/4…

J.Sabree
- 2,280
- 19
- 48
2
votes
1 answer
use html in selectizeInput with R shiny
I would like to use some html in the choices in select(ize)Input. Does anyone know a simple solution how to tell shiny to treat the options as HTML?
library(shiny)
ui <- fluidPage(
selectInput("test html use", label = "option", choices = c("

Roelof Waaijman
- 202
- 1
- 5
2
votes
1 answer
Error: non-numeric argument to binary operator
Good Day, making application in RStudio/Shiny is very new to me and I am working with a project in which an external file is to be used as the input data. Here is my CSV:
my supposed to be app:
So the user insert a csv with appliance name in row…

foxtrot
- 21
- 3
2
votes
1 answer
Using R Shiny for Multiple Linear Regression (SelectInput --> multiple=TRUE)
I'm having some trouble getting my R Shiny code to produce a dynamic dashboard where the user can select 1 or more independent variables in a linear regression model and print the results. I've been able to successfully follow examples where the…

user2813606
- 797
- 2
- 13
- 37
2
votes
0 answers
Is there a way to select or return the selected variable from dropdown in selected via selectInput?
I am trying to build a function which will select the data variables entered from the file and show the data variables to be selected via the dropdown and to display the variable that is selected currently.
Here, I am able to add file and show the…

Pawan Rama Mali
- 526
- 2
- 9
2
votes
1 answer
Prevent Select Input From Resetting With Streaming Data Updates
I am trying to come up with a way to prevent a select input from resetting when the data it depends upon changes. Ideally, as more data arrives, the choices expand, silently, without visual disruption or input value resetting. I've tried using…

nate
- 1,172
- 1
- 11
- 26
2
votes
3 answers
Expand/Collapse Shiny selectInput function
I would like to find a resource that would allow my Shiny selectInput function to expand/collapse based on the category headings that I have created. I have searched through some bootstrap resources, but am not yet successful. Please forgive my…

Susan Switzer
- 1,531
- 8
- 34
2
votes
2 answers
React-Admin Change values to custom values in the SelectInput
I have the following code that I'm using in react-admin:
In that…

John Barbosa
- 83
- 1
- 8
2
votes
1 answer
How to save edits made in DT while using SelectInput in correct position
When using editable DataTable (package DT) where input is chosen by SelectInput the edits made isn't saved where it should be.
Choosing a specific variable shows for example rows 50-60 from datatable in first rows. Editing them saves the edits on…

Rprogrammer
- 57
- 7