Skip to content

Commit

Permalink
style: Minor style fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubnowicki committed Jan 15, 2024
1 parent be7fb03 commit dfde755
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion R/input.R
Expand Up @@ -190,7 +190,6 @@ numeric_input <- function(input_id, label, value = NULL, min = NA, max = NA, ste
if (!is.numeric(value) & !grepl("^\\d*(\\.\\d*|)$", value)) stop("Non-numeric input detected")
}


input_tag <- tags$input(id = input_id, value = value, type = "number", placeholder = placeholder)
if (!is.na(min)) input_tag$attribs$min <- min
if (!is.na(max)) input_tag$attribs$max <- max
Expand Down

0 comments on commit dfde755

Please sign in to comment.