I am developing a shiny application. It is almost completed.
I need to hide one tab dynamically. But this tab also has one dynamic selectInput option.
I am able to only hide a tab when it does not have any dynamic input selection.
Here I am confused that if in UI part I am using for example:
htmlOutput("selectUI"))
for Dynamic tab then where should I mention
htmlOutput("selectUI1"))
for dynamic selectInput option.
Please assist. Let me know if you need more information.
Related
I want to use Semantic UI to create a multi select input textbox, where users can type entries manually.
Mock/Expectation
Any suggestions please?
Tried using this https://react.semantic-ui.com/modules/dropdown
But I don't want a dropdown
I am using checkbox group as a tool for a user to select some parameters. The things displayed in the checkbox group is dynamic based on files some one uploads. I can get the selected checkboxes, but sometimes, the user needs to select them in a specific order, and shiny will only allow one order, the way it currently is. I'm not sure how to go about doing this, or if there is a widget in shiny that can do this for me. Thanks.
I am trying to make input group in the html page produced by the shiny app. I would like to have input box and button side by side for planed select and confirm way of using, either by simulating or using bootstrap's input-group class. I am still failing to write right code to achieve this.
I do not want to use scaffolding for this.
Thanks for any advice.
In the snippet below the two inputs render row by row. I need it tightly in group side by side.
App snippet
copy and paste to your R console
library(shiny)
shinyApp(
ui=fluidPage(
div(class="input-group",
selectInput("sel",label=NA,choices=LETTERS,width=150),
actionButton("btn",label="go"))
),
server=shinyServer(function(input, output) {})
)
I am using a database in Shiny App. I have created a long list of choose button to select multiple option (since I have to select more than one option). Problem is, the main screen (for user ui) is becoming very large. I have more than 20 options in couple drop down.
Can't I select more than one option in select drop down list? Since it will reduce the overall size of main user ui screen.
Note- I wanted to post the image of what I have created, but don't know how to paste the real image. I tried but it was taking the link.
Thanks Jdharrison for your response! Actually I don't want to add them horizontal. My question is is it possible to select more than one option in drop-down list? So far I think, we can select only one option from drop-down.
By drop down list, you mean selectInput()? If that is the case, you can certainly do multiple choices using selectInput(..., multiple = TRUE).
I was wondering if its possible for Shiny checks boxes to observe each other in the UI such that if I were to check one, the other must be unchecked, vice versa.
I came across the function updateCheckBox but the example shown is used for the server side, is it possible for checkboxes to communicate between each other on the UI side?
Thanks,
This is usually what radio buttons are used for, see ?radioButtons. Is there a reason those wouldn't work here?