Skip to content

Commit

Permalink
selectizeInput choice=NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
dkilfoyle committed Jan 3, 2015
1 parent 8b503c9 commit 7945698
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@ shinyUI(pageWithSidebar(
div(class="accordion", id ="fieldsAccordion",
div(class="accordion-group",
buildAccordion("Numerics",
selectizeInput("numerics", label="", choices=c(), selected="", multiple=T, #NB: choices is filled by observing input$dataset
options=list(valueField="name", labelField="name", placeholder="Select numeric(s)", dropdownParent = "body", plugins=list(remove_button="", drag_drop=""))), expanded=T),
selectizeInput("numerics", label="", choices=NULL, selected="", multiple=T, #NB: choices is filled by observing input$dataset
options=list(placeholder="Select numeric(s)", dropdownParent = "body", plugins=list(remove_button="", drag_drop=""))), expanded=T),
buildAccordion("Factors",
selectizeInput("factors", label="", choices=c(), selected="", multiple=T,
selectizeInput("factors", label="", choices=NULL, selected="", multiple=T,
options=list(placeholder="Select factor(s)", dropdownParent = "body", plugins=list(remove_button="", drag_drop="")))),
buildAccordion("Dates",
selectizeInput("dates", label="", choices=c(), selected="", multiple=T,
selectizeInput("dates", label="", choices=NULL, selected="", multiple=T,
options=list(placeholder="Select date(s)", dropdownParent = "body", plugins=list(remove_button="", drag_drop="")))),
buildAccordion("Logicals",
selectizeInput("logicals", label="", choices=c(), selected="", multiple=T,
selectizeInput("logicals", label="", choices=NULL, selected="", multiple=T,
options=list(placeholder="Select logical(s)", dropdownParent = "body", plugins=list(remove_button="", drag_drop=""))))
)
),
Expand Down

0 comments on commit 7945698

Please sign in to comment.