@ederzeel/nuxt-schema-form-nightly 0.1.0-29160727.428eb4d → 0.1.0-29162274.a2bef1f

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.
@@ -191,8 +191,9 @@ const open = (index: number) => {
191
191
  }
192
192
 
193
193
  const onInput = (value: Record<string, unknown>, index: number) => {
194
- props.modelValue[index] = value
195
- emit('update:modelValue', props.modelValue)
194
+ const res = JSON.parse(JSON.stringify(props.modelValue))
195
+ res[index] = value
196
+ emit('update:modelValue', res)
196
197
  }
197
198
 
198
199
  const add = () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ederzeel/nuxt-schema-form-nightly",
3
- "version": "0.1.0-29160727.428eb4d",
3
+ "version": "0.1.0-29162274.a2bef1f",
4
4
  "description": "A runtime form generator for nuxt",
5
5
  "type": "module",
6
6
  "exports": {