Skip to content

Commit 61db2e0

Browse files
committed
Set input value with priority: 'event' for custom click action example
1 parent 075fc19 commit 61db2e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vignettes/examples.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1338,7 +1338,7 @@ reactable(
13381338
// Send the click event to Shiny, which will be available in input$show_details
13391339
// Note that the row index starts at 0 in JavaScript, so we add 1
13401340
if (window.Shiny) {
1341-
Shiny.setInputValue('show_details', { index: rowInfo.index + 1 })
1341+
Shiny.setInputValue('show_details', { index: rowInfo.index + 1 }, { priority: 'event' })
13421342
}
13431343
}")
13441344
)

0 commit comments

Comments
 (0)