Closed terry-greenlaw closed 3 years ago
NM, I dug through the Nova code and figured it out. Another undocumented feature :-)
The types array passed into morphTo() (and therefore inlineMorphTo() ) can be a simple list or a key => value list where the key is the label used for the resource.
Hope this helps someone !
The demo GIF shows the template drop-down with descriptive options in mixed case. What do I need to set to override those so they are not just the pluralized resource (model?) name? I've tried setting label, title, and name properties on the morphed models and nova resources with no luck.
Thanks for a great and useful add-on functionality for Nova !