File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -133,15 +133,16 @@ createReactShinyInput <- function(inputId,
133133 if (length(dependencies ) < 1 ) stop(" Must include at least one HTML dependency." )
134134 value <- shiny :: restoreInput(id = inputId , default = default )
135135 htmltools :: tagList(
136+ html_dependency_corejs(),
137+ html_dependency_react(),
138+ html_dependency_reacttools(),
136139 container(id = inputId , class = class ),
137140 htmltools :: tags $ script(id = sprintf(" %s_value" , inputId ),
138141 type = " application/json" ,
139142 jsonlite :: toJSON(value , auto_unbox = TRUE )),
140143 htmltools :: tags $ script(id = sprintf(" %s_configuration" , inputId ),
141144 type = " application/json" ,
142145 jsonlite :: toJSON(configuration , auto_unbox = TRUE )),
143- html_dependency_react(),
144- html_dependency_reacttools(),
145146 dependencies
146147 )
147148}
You can’t perform that action at this time.
0 commit comments