Skip to content

Commit

Permalink
adding tooltips
Browse files Browse the repository at this point in the history
  • Loading branch information
jbris committed Dec 10, 2023
1 parent 73955f9 commit c281ee6
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions my_first_app/ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,12 @@ ui <- page_sidebar(
accordion_panel(
"Inputs",
radioButtons(
"dataset", "Dataset",
"dataset",
tooltip(
span("Dataset", bsicons::bs_icon("question-circle-fill")),
"Select explanatory and response variables for a dataset.",
placement = "left"
),
dataset_choices,
inline = TRUE
),
Expand All @@ -36,7 +41,12 @@ ui <- page_sidebar(
accordion_panel(
"Mapping",
selectInput(
"mapping_location", "Location",
"mapping_location",
tooltip(
span("Location", bsicons::bs_icon("question-circle-fill")),
"Select the view location for the map.",
placement = "left"
),
location_choices,
multiple = FALSE,
selectize = TRUE
Expand Down

0 comments on commit c281ee6

Please sign in to comment.