I want shiny sliderInput to be biuld like attached image
side by side values i want like min and max. the input should be manual and not by slider or dropdown
I tried selectInput but its taking one value in a row I want two values in one row
You could use fluidRow()
and column()
. You start by using a fluidRow()
and add columns()
within that functions,...
Reproducible example:
library(shiny)
ui <- fluidPage(
fluidRow(
column(width = 3,
selectInput("min", "Min Price", 1:4)
),
column(width = 3,
selectInput("max", "Max Price", 1:4)
)
),
fluidRow(
column(width = 3,
selectInput("min2", "Property type", letters[1:4])
),
column(width = 3,
selectInput("max2", "Bedrooms", 1:4)
)
)
)
shinyApp(ui, server = function(input, output) { })