Skip to content

Commit 1a6a1af

Browse files
display the nice path if field type combo is not editable (#731)
1 parent c84b31a commit 1a6a1af

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

public/js/pimcore/object/tags/manyToOneRelation.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -671,8 +671,9 @@ pimcore.object.tags.manyToOneRelation = Class.create(pimcore.object.tags.abstrac
671671
if (!this.object) {
672672
return;
673673
}
674+
674675
let targets, responseHandler;
675-
if (pimcore.helpers.hasSearchImplementation() && this.fieldConfig.displayMode === 'combo') {
676+
if (pimcore.helpers.hasSearchImplementation() && this.fieldConfig.displayMode === 'combo' && !this.fieldConfig.noteditable) {
676677
targets = this.store.data;
677678
responseHandler = function (responseData) {
678679
this.component.removeCls('grid_nicepath_requested');

0 commit comments

Comments
 (0)