[MGNLUI-6661] Missing dropdown button for select field under composite multi value fields in applications running in compatibility mode Created: 16/Apr/21  Updated: 16/Apr/21  Resolved: 16/Apr/21

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

Type: Bug Priority: Neutral
Reporter: Viet Nguyen Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
duplicate
duplicates MGNLUI-6628 Selector is hidden w/ select field in... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled

 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


 Comments   
Comment by Viet Nguyen [ 16/Apr/21 ]

Duplicated of MGNLUI-6628

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