submitButton
submitButton(text = "Apply Changes", icon = NULL)
Arguments
text | Button caption |
---|---|
icon | Optional icon to appear on the button |
Create a submit button
Value
A submit button that can be added to a UI definition.
Description
Create a submit button for an input form. Forms that include a submit button do not automatically update their outputs when inputs change, rather they wait until the user explicitly clicks the submit button.
Examples
submitButton("Update View")<div> <button type="submit" class="btn btn-primary">Update View</button> </div>submitButton("Update View", icon("refresh"))<div> <button type="submit" class="btn btn-primary"> <i class="fa fa-refresh"></i> Update View </button> </div>
See also
Other input.elements:actionButton
,
actionLink
; animationOptions
,
sliderInput
;
checkboxGroupInput
;
checkboxInput
; dateInput
;
dateRangeInput
; fileInput
;
numericInput
; radioButtons
;
selectInput
, selectizeInput
;
textInput