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

Missing dropdown button for select field under composite multi value fields in applications running in compatibility mode

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Neutral
    • None
    • 6.2.7
    • None
    • None

    Description

      Steps to reproduce

      1.  Configure an app with corresponding fields such as:
        app definition: energa-consents-ct.yaml
        datasource:
          workspace: consents
          rootPath: /
          autoCreate: true
        
        model:
          nodeType: mgnl:consent
          properties:
            - name: aaa
            - name: bbb
            - name: ccc
        
        

      Test field configuration: energa-consents-app.yaml

      !content-type-m5:energa-consents-ct
      name: consents-app
      label: consents-app.app.label
      subApps:
        detail:
          editor:
            form:
              tabs:
                default:
                  fields:
                  - name: aaa
                    fieldType: select
                    label: Select field outside composite
                    options:
                      - name: bullet
                        value: bullet
                        selected: true
                        label: Bullet
                      - name: ordered
                        value: ordered
                        label: Ordered
                      - name: inline
                        value: inline
                        label: Inline
                  - name: bbb
                    fieldType: composite
                    label: Composite field with select inside
                    fields:
                      - name: title
                        fieldType: text
                        label: Title
                      - name: selectFieldInsideComposite
                        fieldType: select
                        label: Select field inside composite
                        options:
                          - name: bullet
                            value: bullet
                            selected: true
                            label: Bullet
                          - name: ordered
                            value: ordered
                            label: Ordered
                          - name: inline
                            value: inline
                            label: Inline
                  - name: ccc
                    fieldType: multiValue
                    label: Multivalue field with select
                    field:
                      name: selectFieldInsideMultivalue
                      fieldType: select
                      label: Select field outside composite
                      options:
                        - name: bullet
                          value: bullet
                          selected: true
                          label: Bullet
                        - name: ordered
                          value: ordered
                          label: Ordered
                        - name: inline
                          value: inline
                          label: Inline
      

      .. Logs, screenshots, gifs...

      Expected results

      • Dropdown shown up

      .. Justify non-trivial expectations with a link to a doc or a relevant discussion.

      Actual results

      • It does not show the dropdown button for these select fields

      Workaround

      • Convert the app to the new UI framework structure

      Development notes

      • Customer need it works for compatibility apps because customer cannot right now convert all configured app to the new supported style

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                viet.nguyen Viet Nguyen
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD