@@ -23,13 +23,15 @@ app_ui = function(request) {
23
23
<hr>" ),
24
24
shiny :: checkboxGroupInput(
25
25
" auto_escape_check_group" ,
26
- label = " Auto Escape Backslashes" ,
26
+ label = shiny :: HTML(
27
+ " <label id='auto_escape_doc_popover'>Auto Escape Backslashes (<u><code>?</code></u>)"
28
+ ),
27
29
choices = c(" Pattern" = " pattern" ,
28
30
" Test String" = " test_str" ),
29
31
selected = " test_str"
30
32
), # shiny::checkboxGroupInput
31
33
shinyBS :: bsPopover(
32
- id = " auto_escape_check_group " ,
34
+ id = " auto_escape_doc_popover " ,
33
35
title = " Bring your own escapes?" ,
34
36
content = paste0(" When working with regex in R, you often need more " ,
35
37
shiny :: code(" \\\\ " ), " than you think. For example, in Rs regex " ,
@@ -39,11 +41,11 @@ app_ui = function(request) {
39
41
" backslashes that R is looking for. This can lead to some unexpected behavior; " ,
40
42
" for example, a new line in the test string will be converted to the letter " ,
41
43
shiny :: code(" n" ), " (because " , shiny :: code(" \\\\ n" ), " -> " , shiny :: code(" n" ), " )."
42
- ),
43
- placement = " bottom " ,
44
- trigger = " hover " ,
44
+ ),
45
+ placement = " right " ,
46
+ trigger = " click " ,
45
47
options = list (container = " body" )
46
- ), # shinyBS::bsPopover
48
+ ), # shinyBS::bsPopover
47
49
shiny :: checkboxGroupInput(
48
50
" additional_params" ,
49
51
label = shiny :: tags $ label(" Additional Parameters" ),
0 commit comments