The UI function cannot use the request
argument
#395
Labels
status: ready
Well-defined and immediately actionable
type: enhancement
Minor change or improvement for existing functionality
Background
When using bookmarking in Shiny, the UI must be a function. According to the documentation of shiny::enableBookmarking() it should take
request
as an argument, but its contents are not documented and experiments prove that the function can also take no arguments.Thus both UI definitions below should work in vanilla Shiny:
We encountered this while working on #283.
Problem
With
legacy_entrypoint: source
both UI definitions should work as in vanilla Shiny. However if therequest
argument is actually used in the function (dput(request)
) it will not work in Rhino.The text was updated successfully, but these errors were encountered: