# Trigger onChange at Jsonforms programatically

**URL:** <https://jsonforms.discourse.group/t/trigger-onchange-at-jsonforms-programatically/1647>\
**Category:** General\
**Created:** [August 4, 2023, 7:24am UTC](https://jsonforms.discourse.group/t/trigger-onchange-at-jsonforms-programatically/1647 "2023-08-04T07:24:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rohan.thakare](https://avatars.discourse-cdn.com/v4/letter/r/eada6e/32.png) [@rohan.thakare](https://jsonforms.discourse.group/u/rohan.thakare)\
**Post date:** [August 4, 2023, 7:24am UTC](https://jsonforms.discourse.group/t/trigger-onchange-at-jsonforms-programatically/1647/1 "2023-08-04T07:24:43Z")

</div>

We have set Schema and UI schema on JsonForms, also set data on JsonForms, but setting data does not trigger onChange event, is there any way to trigger on change on complete JsonForms after setting data,  
data is getting set using v-bind

---

<div class="post-metadata">

**Author:** ![sdirix](https://yyz2.discourse-cdn.com/free1/user_avatar/jsonforms.discourse.group/sdirix/32/1073_2.png) [@sdirix](https://jsonforms.discourse.group/u/sdirix)\
**Post date:** [August 8, 2023, 10:21pm UTC](https://jsonforms.discourse.group/t/trigger-onchange-at-jsonforms-programatically/1647/2 "2023-08-08T22:21:59Z")

</div>

Whenever a new `data` object is handed over to JSON Forms a change event should be emitted. Please note that the handed in `data` object is not deeply watched, so to inform JSON Forms about nested changes you actually need to hand in a new instance. This can easily be accomplished by using `lodash/fp/set` when modifying your data.
