Add row to table in utility hook

In a utility hook, existing rows in a table can be edited but newly added rows do not appear. Is there a way to refresh the table so that rows can be added?

This has to do with the Vue reactivity system not seeing the new row.
The most recent build ( >0.10.28 ) has a fix for this but you can also fix this via a Vue.set
can you post your code that adds a new row? ( the js that is )

The reason I ran into this is I wanted to try using onFormLoad instead of onFormRequest, so the model is empty when the form is requested, and the model is then populated by FMS in a utility hook.

Then Make sure there is an empty key in the model for the page beforehand.

e.g.:
{ "myTable" :[] }

1 Like