Affected Version
2026.1 (verified on pimcore/studio-ui-bundle 2026.1.6; the code path is unchanged on 2026.x)
Affected capability
Data Objects
Steps to reproduce
- Add a Many-To-One Relation field to a data object class and restrict it to a single class.
- In the field settings set Display mode to "Inline search" and save the class.
- Re-open the class definition — the setting is stored correctly (
'displayMode' => 'combo' in var/classes/definition_<Class>.php).
- Open an object of that class in the Data Object editor.
Actual Behavior
The field renders the path reference input, exactly as with "Display path reference". There is no way to search; you can only pick the related object through the element selector.
The value is stored and delivered correctly — displayMode is a public property on Pimcore\Model\DataObject\ClassDefinition\Data\Relations\AbstractRelations and the layout is passed through raw — but the object data component never reads it: DynamicTypeObjectDataManyToOneRelation.getObjectDataComponent() always renders ManyToOneRelation. Only manyToManyObjectRelation implements a combo branch (labelled "Tag field" there).
So the Display mode dropdown is effectively dead UI for manyToOneRelation: both options render the same widget.
Expected Behavior
"Inline search" renders a searchable field for the related class, as the option promises and as the equivalent setting does for many-to-many object relations.
A pull request implementing this is already open: pimcore/studio-ui-bundle#3960. This issue is filed for traceability, per the issue-link requirement on that repository.
Supersedes pimcore/studio-ui-bundle#889, which describes the same gap.
Affected Version
2026.1 (verified on
pimcore/studio-ui-bundle2026.1.6; the code path is unchanged on2026.x)Affected capability
Data Objects
Steps to reproduce
'displayMode' => 'combo'invar/classes/definition_<Class>.php).Actual Behavior
The field renders the path reference input, exactly as with "Display path reference". There is no way to search; you can only pick the related object through the element selector.
The value is stored and delivered correctly —
displayModeis a public property onPimcore\Model\DataObject\ClassDefinition\Data\Relations\AbstractRelationsand the layout is passed through raw — but the object data component never reads it:DynamicTypeObjectDataManyToOneRelation.getObjectDataComponent()always rendersManyToOneRelation. OnlymanyToManyObjectRelationimplements acombobranch (labelled "Tag field" there).So the Display mode dropdown is effectively dead UI for
manyToOneRelation: both options render the same widget.Expected Behavior
"Inline search" renders a searchable field for the related class, as the option promises and as the equivalent setting does for many-to-many object relations.
A pull request implementing this is already open: pimcore/studio-ui-bundle#3960. This issue is filed for traceability, per the issue-link requirement on that repository.
Supersedes pimcore/studio-ui-bundle#889, which describes the same gap.