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

change option field in dialog

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Minor
    • 2.2.0
    • None
    • None
    • Basel 91
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Task DoR

                  Jenkins

                    No builds found.