On Strapi v4.14.6 while developing an edit view plugin I am using the “content manager edit view data manager” via the useCMEditViewDataManager
hook. With this I can access the form data. The issue is that relation fields seem to be lazy loaded. I can see them in the form but the values from manager have for example only an empty array for 1-to-many relation fields. Can I load the relations via the manager? On the object returned from the hook there is a method relationLoad
but I would not now how to use this.
hi @bas3000 do you found any solution or example of how to use relationLoad and relationConnect ?
thanks
Hey @tritrul! No, as far as I remember I had to do an additional call to the system with useFetchClient
to resolve the related data.