We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I am trying to use a function to define the text shown in the selected label but it is not functioning like the labelRendered
ui <-fluidPage( HTML("<script> testFunction = function(data) { return 'test'; }</script>"), virtualSelectInput( inputId = "id", label = "test_select", choices=c("one", "two", "three"), selectedLabelRenderer = 'testFunction', labelRenderer = 'testFunction', ), )
The text was updated successfully, but these errors were encountered:
selectedLabelRenderer is not yet implemented, I'll look into it soon.
selectedLabelRenderer
Victor
Sorry, something went wrong.
If you re-install from GitHub, you can try :
library(shiny) library(shinyWidgets) ui <- fluidPage( tags$script( "labelRenderer = function(data) { return 'Label: ' + data.value; }", "selectedLabelRenderer = function(data) { return 'Selected: ' + data.value; }" ), virtualSelectInput( inputId = "id", label = "test_select", choices = c("one", "two", "three"), selectedLabelRenderer = "selectedLabelRenderer", labelRenderer = "labelRenderer", ) ) shinyApp(ui, function(...) {})
No branches or pull requests
I am trying to use a function to define the text shown in the selected label but it is not functioning like the labelRendered
The text was updated successfully, but these errors were encountered: