Replies: 0 comments 3 replies
-
ah, never thought of that... interesting for my instant fields... |
Beta Was this translation helpful? Give feedback.
-
Unfortunately, no, I haven’t tried it yet… :-( Up! |
Beta Was this translation helpful? Give feedback.
-
I tried this last weekend in different ways, but I don't think it is possible to use it like this right now due to architectural reasons. We would need to get access to a fully initialized instance of the CrudController to have knowledge about fields/columns etc. But this currently depends on the request itself (sometimes?). Maybe(?) a static helper method could help out... |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
This should be a good solution for both the "matrix field" #771, and for the "add items on the fly" #591 issue.
In order to create fields that take into consideration what a connected Model needs to show in terms of columns/fields, we can just pass its CrudController. It has all information that field will need:
So we should be able to do something like this:
and
Beta Was this translation helpful? Give feedback.
All reactions