@ederzeel/nuxt-schema-form-nightly 0.1.0-29120900.fc1cee2 → 0.1.0-29120923.8a41a52

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.
@@ -13,7 +13,7 @@ const props = defineProps<{
13
13
 
14
14
  const options = computed(() => props.enum.map((x, i) => ({ label: props?.enum_titles?.[i] ?? x, value: x })))
15
15
 
16
- const value = defineModel<string>()
16
+ const value = defineModel<string>({ default: '' })
17
17
  </script>
18
18
 
19
19
  <template>
@@ -6,7 +6,7 @@ const props = defineProps<{
6
6
  isRequired: boolean
7
7
  }>()
8
8
 
9
- const value = defineModel<string>()
9
+ const value = defineModel<string>({ default: '' })
10
10
  </script>
11
11
 
12
12
  <template>
@@ -17,7 +17,7 @@ const value = defineModel<string>()
17
17
  :description="props.description"
18
18
  :name="props.id"
19
19
  >
20
- <UTextarea class="w-full" :value="value || ''" @input="value = $event.target.value" />
20
+ <UTextarea class="w-full" :modelValue="value || ''" @update:modelValue="value = $event" />
21
21
  </UFormField>
22
22
  </div>
23
23
  </template>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ederzeel/nuxt-schema-form-nightly",
3
- "version": "0.1.0-29120900.fc1cee2",
3
+ "version": "0.1.0-29120923.8a41a52",
4
4
  "description": "A runtime form generator for nuxt",
5
5
  "type": "module",
6
6
  "exports": {