Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-6645

DOC: Horizontal layout

    XMLWordPrintable

Details

    Description

      When I literally use the configuration from documentation it doesn't produce any results.
      I have:

      form:
        layout:
          $type: horizontal
          fields:
            - name: salutation
              $type: textField
              label: Salutation
            - name: firstName
              $type: textField
              label: First name
            - name: lastName
              $type: textField
              label: Last name
      

      The confusing part is why is the model mixed in with the layout?

      Trying this kind of works but still looks goofy.

      form:
        properties:
          salutation:
            $type: textField
            label: Salutation
          firstName:
            $type: textField
            label: First name
          lastName:
            $type: textField
            label: Last name
        layout:
          $type: horizontal
          fields:
            - name: salutation
            - name: firstName
            - name: lastName
      

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                akhamis Ashraf Khamis
                rgange Richard Gange
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 11m
                      11m