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

change option field in dialog

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.2.0
    • None
    • None
    • Basel 91
    • 0.5

      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
      

        Acceptance criteria

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

                Created:
                Updated:
                Resolved: