This repository was archived by the owner on Nov 20, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +4
-6
lines changed
Expand file tree Collapse file tree 4 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ const controlRenderer = defineComponent({
6969 },
7070 setup(props : RendererProps <ControlElement >) {
7171 const input = useJsonFormsAnyOfControl (props );
72- const control = ( input .control as any ) .value as typeof input . control ;
72+ const control = input .control .value ;
7373 const selectedIndex = ref (control .indexOfFittingSchema || 0 );
7474
7575 return {
Original file line number Diff line number Diff line change @@ -116,7 +116,7 @@ const controlRenderer = defineComponent({
116116 },
117117 setup(props : RendererProps <ControlElement >) {
118118 const input = useJsonFormsOneOfControl (props );
119- const control = ( input .control as any ) .value as typeof input . control ;
119+ const control = input .control .value ;
120120
121121 const selectedIndex = ref (control .indexOfFittingSchema );
122122 const selectIndex = ref (selectedIndex .value );
Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ const controlRenderer = defineComponent({
111111 },
112112 setup(props : RendererProps <ControlElement >) {
113113 const input = useJsonFormsOneOfControl (props );
114- const control = ( input .control as any ) .value as typeof input . control ;
114+ const control = input .control .value ;
115115
116116 const selectedIndex = ref (control .indexOfFittingSchema || 0 );
117117 const tabIndex = ref (selectedIndex .value );
Original file line number Diff line number Diff line change @@ -165,9 +165,7 @@ export default defineComponent({
165165 },
166166 },
167167 setup(props ) {
168- const control = props .input .control as any as Ref <
169- typeof props .input .control
170- >;
168+ const control = props .input .control ;
171169 const reservedPropertyNames = Object .keys (
172170 control .value .schema .properties || {}
173171 );
You can’t perform that action at this time.
0 commit comments