File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -115,7 +115,7 @@ import {
115
115
import { DisabledIconFocus } from ' ../controls' ;
116
116
import {
117
117
useCombinatorTranslations ,
118
- UseDefaultValueKey ,
118
+ IsDynamicPropertyContext ,
119
119
useIcons ,
120
120
useJsonForms ,
121
121
useTranslator ,
@@ -399,7 +399,7 @@ const controlRenderer = defineComponent({
399
399
400
400
const currentlyExpanded = ref <number | null >(null );
401
401
// use the default value since all properties are dynamic so preserve the property key
402
- provide (UseDefaultValueKey , true );
402
+ provide (IsDynamicPropertyContext , true );
403
403
404
404
return {
405
405
... useCombinatorTranslations (useVuetifyControl (input )),
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ import {
147
147
useJsonForms ,
148
148
useTranslator ,
149
149
} from ' ../../util' ;
150
- import { UseDefaultValueKey } from ' @/util/inject' ;
150
+ import { IsDynamicPropertyContext } from ' @/util/inject' ;
151
151
152
152
type Input = ReturnType <typeof useJsonFormsControlWithDetail >;
153
153
interface AdditionalPropertyType {
@@ -410,7 +410,7 @@ export default defineComponent({
410
410
);
411
411
412
412
// use the default value since all properties are dynamic so preserve the property key
413
- provide (UseDefaultValueKey , true );
413
+ provide (IsDynamicPropertyContext , true );
414
414
415
415
return {
416
416
validationMode: validationMode ,
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ import {
39
39
} from 'vue' ;
40
40
import type { IconOptions } from 'vuetify' ;
41
41
import { useStyles } from '../styles' ;
42
- import { UseDefaultValueKey } from './inject' ;
42
+ import { IsDynamicPropertyContext } from './inject' ;
43
43
44
44
export const IconSymbol : InjectionKey < Required < IconOptions > > =
45
45
Symbol . for ( 'vuetify:icons' ) ;
@@ -493,7 +493,7 @@ export const determineClearValue = (
493
493
const jsonforms = useJsonForms ( ) ;
494
494
495
495
const useDefaultValue = inject < boolean > (
496
- UseDefaultValueKey ,
496
+ IsDynamicPropertyContext ,
497
497
jsonforms . core ?. schema . type !== 'object' ,
498
498
) ;
499
499
Original file line number Diff line number Diff line change 1
1
import type { InjectionKey } from 'vue' ;
2
2
3
- export const UseDefaultValueKey : InjectionKey < boolean > = Symbol . for (
4
- 'jsonforms-vue-vuetify:useDefaultValue ' ,
3
+ export const IsDynamicPropertyContext : InjectionKey < boolean > = Symbol . for (
4
+ 'jsonforms-vue-vuetify:IsDynamicPropertyContext ' ,
5
5
) ;
You can’t perform that action at this time.
0 commit comments