@koumoul/vjsf 3.20.3 → 3.20.4

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.20.3",
3
+ "version": "3.20.4",
4
4
  "description": "Generate forms for the vuetify UI library (vuejs) based on annotated JSON schemas.",
5
5
  "scripts": {
6
6
  "test": "vitest run",
@@ -116,7 +116,7 @@ const itemSubtitles = computed(() => {
116
116
  const pushEmptyItem = () => {
117
117
  const newData = (props.modelValue.data ?? []).concat([undefined])
118
118
  props.statefulLayout.input(props.modelValue, newData)
119
- if (layout.value.listEditMode === 'inline-single') {
119
+ if (layout.value.listEditMode === 'inline-single' || layout.value.listEditMode === 'dialog') {
120
120
  props.statefulLayout.activateItem(props.modelValue, newData.length - 1)
121
121
  }
122
122
  }
@@ -496,7 +496,10 @@ const itemBorderColor = computed(() => (/** @type {import('@json-layout/core').S
496
496
  v-bind="vEditDialogProps"
497
497
  >
498
498
  <v-sheet>
499
- <v-toolbar density="compact">
499
+ <v-toolbar
500
+ density="compact"
501
+ color="surface"
502
+ >
500
503
  <v-spacer />
501
504
  <v-btn
502
505
  :title="modelValue.messages.close"