We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8db77a0 commit 507220dCopy full SHA for 507220d
src/composables/useControl.ts
@@ -102,7 +102,7 @@ export default function useControl<T extends InnerControlType>(
102
const parent = controlBar !== null ? controlBar?.value : map;
103
104
const control = computed<T>(
105
- () => new ControlType(properties as Record<string, unknown>),
+ () => new ControlType({ ...(properties as Record<string, unknown>) }),
106
);
107
108
control.value.set("order", attrs.order === undefined ? 0 : attrs.order);
0 commit comments