-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
In a 1:n relationship managed via a transient field and a grid widget in the main table, like this:
(table 'Punto': fields.ini)
[Testi]
transient=1
widget:type=grid
widget:columns="Tipologia, TitoloTesto, Testo, CodDelibera, Raccordo, NoteT"
relationship=Testi
order=40
(table 'Punto': relationships.ini)
[Testi]
__sql__ = "SELECT * FROM Testo T WHERE T.FKPunto='$KPunto'"
(table 'Testo': fields.ini)
[Testo]
widget:type=ckeditor
passthru=1
everything is rendering as expected when editing a 'Punto' record, but no value is saved in the 'Testi' relationship when clicking the save button, and no new line in the grid appears when clicking on the last cell
If a textarea widget is used instead of a ckeditor widget, like this:
(table 'Testo': fields.ini)
[Testo]
widget:type=textarea
the save button and the new line mechanism in the grid work again as expected.
ckeditor inside a grid might not be currently supported, but could sometimes be useful
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels