jsonforms
jsonforms copied to clipboard
Event 'change' is triggered twice in Vue from 3.0.0-beta.3
Describe the bug
Component JsonForms trigger the change event twice when changing one form value. The second time is caused by the operation of setting this.data to event.data
Expected behavior
Only trigger the change event once.
Steps to reproduce the issue
- Clone project
jsonforms-vue-seed. - Delete file
package-lock.json. - Add code
console.log("onChange", event.data);to methodonChangeinApp.vue. - Run the project and change any input value in browser.
- See the output twice in the browser console.
Screenshots

In which browser are you experiencing the issue?
Google Chrome Version 104.0.5112.79 (Official Build) (arm64)
Framework
Vue 3
RendererSet
Other (please specify in the Additional context field)
Additional context
vue-vanilla Sorry for my poor English.
Thanks for the report! We'll take a look