Replies: 3 comments 1 reply
-
I know it's been one year, but did you manage to do what you wanted? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I'm using EasyAdmin 4 with Symfony 6.2. To give you some context, I'm trying to manage Job from my back-office.
A Job is made up of an existing Symfony command, arguments related to the command, and a description.
I dynamically display all the available Symfony commands in a dropdown list in my form, from which the user can choose only one.
Regarding the arguments, I want to display all the arguments with a CollectionField, as shown in the Symfony documentation where we see "Jane Doe" as the title and her attributes like email.
I want to do the same where "Jane Doe" would be the name of my command and its attributes like "Email" would be my argument(s) related to that command.
As I said, I don't have a Command or Arguments entity, everything is dynamically retrieved with Symfony which allows me to display my newly created commands as well.
Moreover, the Symfony documentation doesn't seem to detail how I can get the result of "Jane Doe" etc...
I don't want the user to click on a command and then the CollectionField appears with the command as the title and its arguments as input fields.
https://symfony.com/bundles/EasyAdminBundle/current/fields/CollectionField.html#renderexpanded
I want to display all possible fields which would make for a fairly long list of fields, but that's what I need.
I've tried a lot of things without success... I managed to display all my fields listing my arguments but again, that's not what I want. (See end of message for what it looks like)
Beta Was this translation helpful? Give feedback.
All reactions