powered by
surveyID() is a helper function for extendInputType. When defining custom input types, the inputId argument for shiny UI components should equal surveyID(). See examples for more details.
surveyID()
extendInputType
inputId
NA; used for side effects with extendInputType.
surveyLabel
surveyOptions
# NOT RUN { extendInputType("slider", { shiny::sliderInput( inputId = surveyID(), label = surveyLabel(), min = 1, max = 10, value = 5 ) }) # }
Run the code above in your browser using DataLab