Skip to content

Commit

Permalink
display the nice path if field type combo is not editable
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickbitzer committed Oct 24, 2024
1 parent 6d445ce commit c9a441c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion public/js/pimcore/object/tags/manyToOneRelation.js
Original file line number Diff line number Diff line change
Expand Up @@ -671,8 +671,9 @@ pimcore.object.tags.manyToOneRelation = Class.create(pimcore.object.tags.abstrac
if (!this.object) {
return;
}

let targets, responseHandler;
if (pimcore.helpers.hasSearchImplementation() && this.fieldConfig.displayMode === 'combo') {
if (pimcore.helpers.hasSearchImplementation() && this.fieldConfig.displayMode === 'combo' && !this.fieldConfig.noteditable) {
targets = this.store.data;
responseHandler = function (responseData) {
this.component.removeCls('grid_nicepath_requested');
Expand Down

0 comments on commit c9a441c

Please sign in to comment.