Creates a button specifically for Fomantic UI forms in order to check all inputs meet validation rules

form_button(input_id, label, icon = NULL, width = NULL, ...)

Arguments

input_id

The input slot that will be used to access the value

label

The contents of the button, can either be character string or HTML tags

icon

An optional icon to appear on the button

width

Width of the input

...

Named attributes to be applied to the button or remaining parameters passed to button, like class

Value

A shiny.tag that will show a submit button in the UI of a shiny application.

Examples

form_button("submit", "Submit")
#> <button id="submit" class="ui form-button button">
#>    
#>   Submit
#> </button>