@ederzeel/nuxt-schema-form-nightly 0.1.0-29022475.0a845ef → 0.1.0-29022504.228f28e

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.
@@ -8,6 +8,8 @@ const props = defineProps<{
8
8
  jsonSchemaPath: string
9
9
  properties: PropertiesType
10
10
  modelValue: Record<string, unknown>
11
+ required: string[]
12
+ isRequired: boolean
11
13
  }>()
12
14
 
13
15
  type PropertiesType = {
@@ -31,6 +33,7 @@ const onInput = (value: unknown, key: string) => {
31
33
  :model-value="modelValue[key]"
32
34
  :json-schema-path="jsonSchemaPath?.length <= 0 ? `properties.${key}` : `${jsonSchemaPath}.properties.${key}`"
33
35
  v-bind="options"
36
+ :isRequired="required.includes(key)"
34
37
  class="flex flex-col flex-1"
35
38
  @update:model-value="event => onInput(event, key)"
36
39
  />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ederzeel/nuxt-schema-form-nightly",
3
- "version": "0.1.0-29022475.0a845ef",
3
+ "version": "0.1.0-29022504.228f28e",
4
4
  "description": "A runtime form generator for nuxt",
5
5
  "type": "module",
6
6
  "exports": {
@@ -65,11 +65,11 @@
65
65
  "unplugin": "^2.1.2",
66
66
  "unplugin-auto-import": "^19.0.0",
67
67
  "unplugin-vue-components": "^28.0.0",
68
- "v-calendar": "^3.1.2",
69
68
  "yup": "^1.6.1"
70
69
  },
71
70
  "dependencies": {
72
- "date-fns": "^4.1.0"
71
+ "date-fns": "^4.1.0",
72
+ "v-calendar": "^3.1.2"
73
73
  },
74
74
  "resolutions": {
75
75
  "@ederzeel/nuxt-schema-form": "workspace:*"