Skip to content

Commit

Permalink
BUGFIX: 3509 Unify document title label and node creation title label
Browse files Browse the repository at this point in the history
The declaration `showInCreationDialog` was copied over from Neos.Neos
and the explicit configuration of `creationDialog.elements.title` is obsolete.

The explicit declaration of ui.label: i18n would lead to `Neos.Neos:NodeTypes.Document:creationDialog.title` instead of `Neos.Neos:NodeTypes.Document:properties.title` being used.
That made it hard to set a simple title as the translation was more eager. Resolves #3509

The previously used creationDialog translation is now obsolete (resided in Neos.Neos)

See also #1539
  • Loading branch information
mhsdesign committed Mar 1, 2024
1 parent e27b791 commit 669d400
Showing 1 changed file with 3 additions and 10 deletions.
13 changes: 3 additions & 10 deletions Configuration/NodeTypes.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,10 @@
'CreationDialogPostprocessor':
position: 'after NodeTypePresetPostprocessor'
postprocessor: 'Neos\Neos\Ui\Infrastructure\ContentRepository\CreationDialog\CreationDialogNodeTypePostprocessor'
ui:
creationDialog:
elements:
title:
type: string
ui:
label: i18n
editor: 'Neos.Neos/Inspector/Editors/TextFieldEditor'
validation:
'Neos.Neos/Validation/NotEmptyValidator': {}
properties:
title:
ui:
showInCreationDialog: true
uriPathSegment:
ui:
inspector:
Expand Down

0 comments on commit 669d400

Please sign in to comment.