Details
-
Improvement
-
Resolution: Unresolved
-
Major
-
None
-
2.7
-
None
-
Unknown
-
Description
It would be a nice feature to be able to use the display(fieldname) method to render specific HTML content depending on the view/edit/inline action for the current document's attributes (such as title, parent, etc).
For example $doc.display('title') should display the document's title (as text or as text input for 'view', respectively 'inline' actions). I believe it should also override any object's 'title' property, because we can pass that object as a parameter to the display(fieldname, obj) if we want that specific property to be displayed.
Please let me know if you find my suggestion useful or not.