Form Builder support for polymorphic relationships

I know you can create forms that perform CRUD operations on relationships by using ->relationship('<relationship property>'), within Section, Group, etc. However, I'm wondering what the cleanest approach would be to support polymorphic tables, where you'd need to be able to specify what the id and type field names are.
1 Reply
John Parker
John ParkerOP10mo ago
Arrrgghh… it of course works perfectly if you actually point it at the correct relationship property that's set as MorphOne.

Did you find this page helpful?