Vue 3 custom renderer for array addItem not triggering

Written custom renderer for array fields, calling addItem from useVanillaArrayControl(useJsonFormsArrayControl(props)) but not adding item in array, but when we try with dispatch action its working fine

On a first glance it should work as we do exactly the same in our Vanilla array renderer:

Can you debug into the addItem to see what is going wrong?

Hi Stefan, Thank you for writing down, issue got resolved it was a miss from my end, i was calling addItem(path, defaultVal); After changing it to addItem(path, defaultVal)(); it worked by adding ( and );

Ay yes, overlooked the generator this time myself :+1: