Skip to content

Commit

Permalink
Merge pull request #51 from mkoitka/feature-multiline-label
Browse files Browse the repository at this point in the history
[FEATURE] Allow multilines for label
  • Loading branch information
tritum authored Jul 22, 2023
2 parents 32c8491 + aab3cbe commit f3a5fd2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions Configuration/Yaml/FormSetup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ TYPO3:
additionalLinks: { }
# add new field which allows selection of a page (= link target)
editors:
200:
templateName: 'Inspector-TextareaEditor'
300:
identifier: 'pageUid'
templateName: 'Inspector-Typo3WinBrowserEditor'
Expand Down
2 changes: 1 addition & 1 deletion Resources/Private/Frontend/Partials/LinkedCheckbox.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
errorClass="{element.properties.elementErrorClassAttribute}"
additionalAttributes="{formvh:translateElementProperty(element: element, property: 'fluidAdditionalAttributes')}"
/>
<span>{formvh:translateElementProperty(element: element, property: 'label') -> f:format.stripTags(allowedTags: '<a>')}<f:if condition="{element.required}"><f:render partial="Field/Required" /></f:if></span>
<span>{formvh:translateElementProperty(element: element, property: 'label') -> f:format.stripTags(allowedTags: '<a>') -> f:format.nl2br()}<f:if condition="{element.required}"><f:render partial="Field/Required" /></f:if></span>
</label>
</div>
</f:render>
Expand Down

0 comments on commit f3a5fd2

Please sign in to comment.