Skip to content
This repository was archived by the owner on Nov 20, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion vue2-vuetify/src/complex/AnyOfRenderer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ const controlRenderer = defineComponent({
},
setup(props: RendererProps<ControlElement>) {
const input = useJsonFormsAnyOfControl(props);
const control = (input.control as any).value as typeof input.control;
const control = input.control.value;
const selectedIndex = ref(control.indexOfFittingSchema || 0);

return {
Expand Down
2 changes: 1 addition & 1 deletion vue2-vuetify/src/complex/OneOfRenderer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ const controlRenderer = defineComponent({
},
setup(props: RendererProps<ControlElement>) {
const input = useJsonFormsOneOfControl(props);
const control = (input.control as any).value as typeof input.control;
const control = input.control.value;

const selectedIndex = ref(control.indexOfFittingSchema);
const selectIndex = ref(selectedIndex.value);
Expand Down
2 changes: 1 addition & 1 deletion vue2-vuetify/src/complex/OneOfTabRenderer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const controlRenderer = defineComponent({
},
setup(props: RendererProps<ControlElement>) {
const input = useJsonFormsOneOfControl(props);
const control = (input.control as any).value as typeof input.control;
const control = input.control.value;

const selectedIndex = ref(control.indexOfFittingSchema || 0);
const tabIndex = ref(selectedIndex.value);
Expand Down
4 changes: 1 addition & 3 deletions vue2-vuetify/src/complex/components/AdditionalProperties.vue
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,7 @@ export default defineComponent({
},
},
setup(props) {
const control = props.input.control as any as Ref<
typeof props.input.control
>;
const control = props.input.control;
const reservedPropertyNames = Object.keys(
control.value.schema.properties || {}
);
Expand Down