[MGNLUI-6801] DOC: New 'tabbedForm' in form definition Created: 26/Jul/21  Updated: 10/Aug/21  Resolved: 10/Aug/21

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2.11
Fix Version/s: None

Type: Task Priority: Neutral
Reporter: Ashraf Khamis Assignee: Ashraf Khamis
Resolution: Done Votes: 0
Labels: fields, layout, new-UI-framework, new-form
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
documentation
documents MGNLUI-6771 Implement tab with fields form defini... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: UI framework implementation
Sprint: UI FW 34
Story Points: 3

 Description   

Instead of info.magnolia.ui.framework.layout.TabbedLayoutDefinition, you can now use Magnolia 5 UI form tabs in Magnolia 6 UI. To do so, add $type: tabbedForm to your form definition:

$type: tabbedForm
tabs:
  general:
    fields:
      foo:
        label: foo
        $type: textField
  otherTab:
    fields:
      bar:
        label: bar
        $type: textField
        required: true

The above tabs should be defined under the form node. The i18n keys from Magnolia 5 UI are not supported in this form.

Roman: "It's a form type forcing a specific layout type". Page to update: https://docs.magnolia-cms.com/product-docs/6.2/Templating/Dialog-definition/Form-definition.html

Include notes on what the i18n keys are.

(Some information here: https://jira.magnolia-cms.com/browse/MGNLUI-6771?focusedCommentId=271224&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-271224)



 Comments   
Comment by Ashraf Khamis [ 10/Aug/21 ]

Added tabbedForm to https://docs.magnolia-cms.com/product-docs/6.2/Templating/Dialog-definition/Form-definition.html#_layout_types and https://docs.magnolia-cms.com/product-docs/6.2/Templating/Dialog-definition/Form-definition.html#_tab_layout with a note about its generated i18n keys.

Reviewed by Roman & Sang.

Generated at Mon Feb 12 09:40:08 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.