Open cancan101 opened 2 days ago
There is no way to pass additional values to be set on a new Object when calling pimcore_admin_dataobject_dataobject_add: https://github.com/pimcore/admin-ui-classic-bundle/blob/c97ec8c592173bbc5e3a496a0857b6dc8c4ef169/src/Controller/Admin/DataObject/DataObjectController.php#L869-L885
pimcore_admin_dataobject_dataobject_add
This means that if we want to extend the create form on the front end UI (e.g. in manyToManyObjectRelation) to capture additional fields, we would need to copy and paste the entire route.
manyToManyObjectRelation
https://github.com/pimcore/admin-ui-classic-bundle/blob/0da795102695a87cde0bee30bb4d2d7fd67a7074/public/js/pimcore/object/tags/manyToManyObjectRelation.js#L192-L204
There is no way to pass additional values to be set on a new Object when calling
pimcore_admin_dataobject_dataobject_add
: https://github.com/pimcore/admin-ui-classic-bundle/blob/c97ec8c592173bbc5e3a496a0857b6dc8c4ef169/src/Controller/Admin/DataObject/DataObjectController.php#L869-L885This means that if we want to extend the create form on the front end UI (e.g. in
manyToManyObjectRelation
) to capture additional fields, we would need to copy and paste the entire route.https://github.com/pimcore/admin-ui-classic-bundle/blob/0da795102695a87cde0bee30bb4d2d7fd67a7074/public/js/pimcore/object/tags/manyToManyObjectRelation.js#L192-L204