mirror of
https://github.com/rstudio/shiny.git
synced 2026-04-29 03:00:45 -04:00
fix: use bindingAdapter (not raw binding) in outputinvalidated event
Matches the event payload shape from progressHandlers.binding in shinyapp.ts, where event.binding is an OutputBindingAdapter.
This commit is contained in:
@@ -5832,7 +5832,7 @@ ${duplicateIdMsg}`;
|
||||
$el.trigger({
|
||||
type: "shiny:outputinvalidated",
|
||||
// @ts-expect-error; Can not remove info on a established, malformed Event object
|
||||
binding,
|
||||
binding: bindingAdapter,
|
||||
name: id
|
||||
});
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
2
inst/www/shared/shiny.min.js
vendored
2
inst/www/shared/shiny.min.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -364,7 +364,7 @@ async function bindOutputs(
|
||||
$el.trigger({
|
||||
type: "shiny:outputinvalidated",
|
||||
// @ts-expect-error; Can not remove info on a established, malformed Event object
|
||||
binding: binding,
|
||||
binding: bindingAdapter,
|
||||
name: id,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user