Skip to content

Commit

Permalink
Prevent serializing input for legacy split widgets (#1497)
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey committed Feb 10, 2020
1 parent 2063f2d commit 192d3af
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/runtime/components/legacy/renderer-legacy.js
Expand Up @@ -65,7 +65,9 @@ function createRendererFunc(templateRenderFunc, componentProps) {
customEvents,
ownerComponentId
);
if (input.widgetProps) {
if (isSplit) {
component.input = null;
} else if (input.widgetProps) {
component.input = input.widgetProps;
}
} else {
Expand Down Expand Up @@ -139,7 +141,10 @@ function createRendererFunc(templateRenderFunc, componentProps) {
customEvents,
ownerComponentId
);
if (input.widgetProps) {

if (isSplit) {
component.input = null;
} else if (input.widgetProps) {
component.input = input.widgetProps;
}
Object.assign(component, oldComponent);
Expand Down

0 comments on commit 192d3af

Please sign in to comment.