Skip to content

Commit

Permalink
chore: do not call nodeTypeManager just to render the elements labels…
Browse files Browse the repository at this point in the history
… in FormElement.
  • Loading branch information
samsauter committed Oct 31, 2024
1 parent 1c05576 commit 729135d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Configuration/NodeTypes.FormElement.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
constraints:
nodeTypes:
'*': false
label: "${q(node).property('identifier') || q(node).property('label') || ((Neos.Node.getNodeType(node).label || node.nodeTypeName.value) + ' (' + node.name + ')')}"
label: "${node.properties.identifier || node.properties.label || ((Neos.Node.label(node) || node.nodeTypeName) + ' (' + node.name + ')')}"
ui:
inlineEditable: true
label: 'Form Element'
Expand Down

0 comments on commit 729135d

Please sign in to comment.