Open Basster opened 1 year ago
@Basster Sorry for the late response here. We currently avoid custom JS inside our core bundles.
I think best if we tackle how we can make in sulu core (sulu/sulu) maybe a view
which is just used for displaying data some kind of widgets
view and put there create some widgets which we could reuse here. Maybe we need a new type of xml
to tackle that.
Feel free to create an issue in the sulu/sulu repository to discuss how such widgets view / readonly views could look like.
What's in this PR?
One of my client wants to have a detail view of dynamic form submissions, because he doesn't want to export everything, but check the submissions from the Sulu Backend. If some text-editor field values are too long, the Table component just hides the text.
Why?
As I'm still pretty new to Sulu, maybe there is another, easier solution, without touching the admin frontend. So this PR is more of a PoC and open for discussion.
I didn't find an actual "view" or "readonly form" mode in Sulu, so I tried this approach.
Example Usage
Read-Only View:
Preview Button in list:
BC Breaks/Deprecations
It adds admin frontend code
To Do