@koumoul/vjsf 3.0.1 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@koumoul/vjsf",
3
- "version": "3.0.1",
3
+ "version": "3.1.0",
4
4
  "description": "Generate forms for the vuetify UI library (vuejs) based on annotated JSON schemas.",
5
5
  "scripts": {
6
6
  "test": "vitest",
@@ -70,7 +70,7 @@
70
70
  "vuetify": "^3.6.13"
71
71
  },
72
72
  "dependencies": {
73
- "@json-layout/core": "0.33.4",
73
+ "@json-layout/core": "0.34.1",
74
74
  "@vueuse/core": "^10.5.0",
75
75
  "debug": "^4.3.4"
76
76
  },
@@ -27,7 +27,7 @@ export default defineComponent({
27
27
  const fullProps = computed(() => {
28
28
  const fullProps = { ...inputProps.value }
29
29
  fullProps.type = 'number'
30
- fullProps['onUpdate:modelValue'] = (/** @type string */value) => props.statefulLayout.input(props.modelValue, value && Number(value))
30
+ fullProps['onUpdate:modelValue'] = (/** @type string */value) => props.statefulLayout.input(props.modelValue, value ? Number(value) : undefined)
31
31
  fullProps.modelValue = localData.value
32
32
  return fullProps
33
33
  })
@@ -64,7 +64,10 @@ const fieldProps = computed(() => {
64
64
 
65
65
  <template>
66
66
  <v-row>
67
- <v-col v-if="modelValue.skeleton.childrenTrees">
67
+ <v-col
68
+ v-if="modelValue.skeleton.childrenTrees"
69
+ cols="12"
70
+ >
68
71
  <v-select
69
72
  v-bind="fieldProps"
70
73
  :model-value="activeChildTree"