Modifications to checkboxinput to allow added styles
checkboxInput(inputId, label, value = FALSE, width = NULL, inline = FALSE)
| inputId | The identification name |
|---|---|
| label | The label for the input |
| value | The current value of the input |
| width | width of the text input |
| inline | make inline or block format |
HTML elements of a checkbox
For more information on the features of the form, visit the examples section of the help documentation
checkboxInput("somevalue", "Some value", FALSE)#> <div class="form-group shiny-input-container " style="width:"> #> <div class="checkbox custom-control custom-checkbox"> #> <input id="idsomevalue485" class="custom-control-input" type="checkbox"/> #> <label class="custom-control-label" for="idsomevalue485"> #> <span>Some value</span> #> </label> #> </div> #> </div>checkboxInput("somevalue", "Some value", FALSE)#> <div class="form-group shiny-input-container " style="width:"> #> <div class="checkbox custom-control custom-checkbox"> #> <input id="idsomevalue2607" class="custom-control-input" type="checkbox"/> #> <label class="custom-control-label" for="idsomevalue2607"> #> <span>Some value</span> #> </label> #> </div> #> </div>checkboxInput("somevalue", "Some value", FALSE)#> <div class="form-group shiny-input-container " style="width:"> #> <div class="checkbox custom-control custom-checkbox"> #> <input id="idsomevalue1476" class="custom-control-input" type="checkbox"/> #> <label class="custom-control-label" for="idsomevalue1476"> #> <span>Some value</span> #> </label> #> </div> #> </div>