Closed jpmarindiaz closed 3 years ago
Create a function clickable_modal(ui_htmls, modalcontents) to be used in the UI so that one can easily add a modal to any UI component
clickable_modal(ui_htmls, modalcontents)
ui <- panelsPage( panel( clickable_modal( selectInput(...), list( h1("Modal Title"), p("more modal contents") ) ) ) )
Create a function
clickable_modal(ui_htmls, modalcontents)
to be used in the UI so that one can easily add a modal to any UI component