Skip to content

Commit

Permalink
fix: tooltip error for not editable many to many relation
Browse files Browse the repository at this point in the history
Error: application style and tooltip aborted, nor matching element found.
Caused by missing object_field class, which is used by edit.js to find the relevant element to apply the tooltip to.
Fixed by adding class(es) to component in getLayoutShow.
  • Loading branch information
kjkooistra-youwe authored and mattamon committed Oct 4, 2024
1 parent 7495bc5 commit 481a023
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions public/js/pimcore/object/tags/manyToManyRelation.js
Original file line number Diff line number Diff line change
Expand Up @@ -501,6 +501,8 @@ pimcore.object.tags.manyToManyRelation = Class.create(pimcore.object.tags.abstra
width: this.fieldConfig.width,
height: this.fieldConfig.height,
cls: "multihref_field",
componentCls: this.getWrapperClassNames(),
bodyCssClass: "pimcore_object_tag_multihref",
autoExpandColumn: 'fullpath',
border: true,
style: "margin-bottom: 10px",
Expand Down

0 comments on commit 481a023

Please sign in to comment.