Customise form
Customise form
My datatable/editor store images (of course, url of images), 1 by row;
When editing by main form, I need to display this image into the form (some data are handwritten in the img);
I use a template but of course
<editor-field name="img"></editor-field>
results in allowing user to edit the url of the image, which is not a good idea.
1) Is there a way to tell the main form to use the render to display data
2) or is there a hook in API to get the id of the row currently edited ?
Thanks for your support
Michel
This question has an accepted answers - jump to answer
Answers
sorry for disturbance.
just use
``modifier()
Get the identifier for the row(s) currently being edited / removed.
Yep, that's it. Glad you found it,
Colin