Skip to content

Commit

Permalink
multi buttons problem solved, updated new favicons
Browse files Browse the repository at this point in the history
  • Loading branch information
pingfan-hu committed Sep 25, 2024
1 parent 0d5529b commit c484278
Show file tree
Hide file tree
Showing 11 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions R/ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ get_barposition <- function(metadata) {
#' @param label_select Character string. The label for the select input. Defaults to "Choose an option...".
#' @param grid Logical. Whether to show a grid for slider input. Defaults to TRUE.
#' @param individual Logical. Whether buttons in a group should be individually styled. Defaults to TRUE.
#' @param justified Logical. Whether buttons in a group should be justified. Defaults to FALSE.
#' @param justified Logical. Whether buttons in a group should fill the width of the parent div. Defaults to FALSE.
#' @param force_edges Logical. Whether to force edges for slider input. Defaults to TRUE.
#' @param option List. Options for the select, radio, checkbox, and slider inputs.
#' @param placeholder Character string. Placeholder text for text and textarea inputs.
Expand Down Expand Up @@ -227,8 +227,7 @@ sd_question <- function(
label = markdown_to_html(label),
choices = list_name_md_to_html(option),
direction = direction,
selected = character(0),
status = status
selected = character(0)
)

output <- shiny::tagAppendChild(output, shiny::tags$script(shiny::HTML(sprintf("
Expand All @@ -245,7 +244,7 @@ sd_question <- function(
choices = list_name_md_to_html(option),
direction = direction,
individual = individual,
justified = justified
justified = TRUE
)

output <- shiny::tagAppendChild(output, shiny::tags$script(shiny::HTML(sprintf("
Expand Down
2 changes: 1 addition & 1 deletion man/sd_question.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified pkgdown/favicon/apple-touch-icon-120x120.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pkgdown/favicon/apple-touch-icon-152x152.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pkgdown/favicon/apple-touch-icon-180x180.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pkgdown/favicon/apple-touch-icon-60x60.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pkgdown/favicon/apple-touch-icon-76x76.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pkgdown/favicon/apple-touch-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pkgdown/favicon/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pkgdown/favicon/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified pkgdown/favicon/favicon.ico
Binary file not shown.

0 comments on commit c484278

Please sign in to comment.