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:
Carson
2026-04-28 19:21:54 -05:00
parent 75a6fe1560
commit d25650fc66
5 changed files with 7 additions and 7 deletions

View File

@@ -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

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -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,
});
}