Uploaded image for project: 'Magnolia CLI'
  1. Magnolia CLI
  2. NPMCLI-105

change option field in dialog

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.0
    • Labels:
      None
    • Sprint:
      Basel 91
    • Story Points:
      0.5

      Description

      when CLI generates dialog component, last field is option, each option has name and value, but its missing label, which means it's expect i18n and so far render long i18n property name.
      place change 'name' to 'label' so option field should looks like:

              - name: option
                class: info.magnolia.ui.form.field.definition.SelectFieldDefinition
                label: Option
                options:
                  - label: A
                    value: a
                  - label: B
                    value: b
      

        Checklists

        Acceptance criteria

          Attachments

            Activity

              People

              Assignee:
              rkowalski Robert Kowalski
              Reporter:
              tgregovsky Tomáš Gregovský
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Checklists

                  Task DoR