@@ -427,9 +427,9 @@ conditionalPanel <- function(condition, ...) {
427
427
# '
428
428
# ' Create an input control for entry of unstructured text values
429
429
# '
430
- # ' @param inputId Input variable to assign the control's value to
431
- # ' @param label Display label for the control
432
- # ' @param value Initial value
430
+ # ' @param inputId The \code{input} slot that will be used to access the value.
431
+ # ' @param label Display label for the control, or \code{NULL} for no label.
432
+ # ' @param value Initial value.
433
433
# ' @return A text input control that can be added to a UI definition.
434
434
# '
435
435
# ' @family input elements
@@ -469,9 +469,7 @@ passwordInput <- function(inputId, label, value = "") {
469
469
# '
470
470
# ' Create an input control for entry of numeric values
471
471
# '
472
- # ' @param inputId Input variable to assign the control's value to
473
- # ' @param label Display label for the control
474
- # ' @param value Initial value
472
+ # ' @inheritParams textInput
475
473
# ' @param min Minimum allowed value
476
474
# ' @param max Maximum allowed value
477
475
# ' @param step Interval to use when stepping between min and max
@@ -526,8 +524,7 @@ numericInput <- function(inputId, label, value, min = NA, max = NA, step = NA) {
526
524
# '
527
525
# ' @family input elements
528
526
# '
529
- # ' @param inputId Input variable to assign the control's value to.
530
- # ' @param label Display label for the control.
527
+ # ' @inheritParams textInput
531
528
# ' @param multiple Whether the user should be allowed to select and upload
532
529
# ' multiple files at once. \bold{Does not work on older browsers, including
533
530
# ' Internet Explorer 9 and earlier.}
@@ -558,8 +555,7 @@ fileInput <- function(inputId, label, multiple = FALSE, accept = NULL) {
558
555
# '
559
556
# ' Create a checkbox that can be used to specify logical values.
560
557
# '
561
- # ' @param inputId Input variable to assign the control's value to.
562
- # ' @param label Display label for the control.
558
+ # ' @inheritParams textInput
563
559
# ' @param value Initial value (\code{TRUE} or \code{FALSE}).
564
560
# ' @return A checkbox control that can be added to a UI definition.
565
561
# '
@@ -588,8 +584,7 @@ checkboxInput <- function(inputId, label, value = FALSE) {
588
584
# ' independently. The server will receive the input as a character vector of the
589
585
# ' selected values.
590
586
# '
591
- # ' @param inputId Input variable to assign the control's value to.
592
- # ' @param label Display label for the control, or \code{NULL}.
587
+ # ' @inheritParams textInput
593
588
# ' @param choices List of values to show checkboxes for. If elements of the list
594
589
# ' are named then that name rather than the value is displayed to the user.
595
590
# ' @param selected The values that should be initially selected, if any.
@@ -758,8 +753,7 @@ choicesWithNames <- function(choices) {
758
753
# ' to instead of the basic select input element. To use the standard HTML select
759
754
# ' input element, use \code{selectInput()} with \code{selectize=FALSE}.
760
755
# '
761
- # ' @param inputId Input variable to assign the control's value to
762
- # ' @param label Display label for the control, or \code{NULL}
756
+ # ' @inheritParams textInput
763
757
# ' @param choices List of values to select from. If elements of the list are
764
758
# ' named then that name rather than the value is displayed to the user.
765
759
# ' @param selected The initially selected value (or multiple values if
@@ -906,8 +900,7 @@ selectizeIt <- function(inputId, select, options, nonempty = FALSE) {
906
900
# '
907
901
# ' Create a set of radio buttons used to select an item from a list.
908
902
# '
909
- # ' @param inputId Input variable to assign the control's value to
910
- # ' @param label Display label for the control, or \code{NULL}
903
+ # ' @inheritParams textInput
911
904
# ' @param choices List of values to select from (if elements of the list are
912
905
# ' named then that name rather than the value is displayed to the user)
913
906
# ' @param selected The initially selected value (if not specified then
@@ -1023,10 +1016,7 @@ actionLink <- function(inputId, label, icon = NULL, ...) {
1023
1016
# '
1024
1017
# ' Constructs a slider widget to select a numeric value from a range.
1025
1018
# '
1026
- # ' @param inputId Specifies the \code{input} slot that will be used to access
1027
- # ' the value.
1028
- # ' @param label A descriptive label to be displayed with the widget, or
1029
- # ' \code{NULL}.
1019
+ # ' @inheritParams textInput
1030
1020
# ' @param min The minimum value (inclusive) that can be selected.
1031
1021
# ' @param max The maximum value (inclusive) that can be selected.
1032
1022
# ' @param value The initial value of the slider. A numeric vector of length
@@ -1187,8 +1177,7 @@ datePickerDependency <- htmlDependency(
1187
1177
# ' \item \code{DD} Full weekday name
1188
1178
# ' }
1189
1179
# '
1190
- # ' @param inputId Input variable to assign the control's value to.
1191
- # ' @param label Display label for the control, or \code{NULL}.
1180
+ # ' @inheritParams textInput
1192
1181
# ' @param value The starting date. Either a Date object, or a string in
1193
1182
# ' \code{yyyy-mm-dd} format. If NULL (the default), will use the current
1194
1183
# ' date in the client's time zone.
0 commit comments