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

Switchable Field: Not usable without translated keys or label

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • dialogs, forms
    • None

      Situation:

      Problem:

      Without translated keys (cause of missing labels) the field itself is not usable at all:

       

      The code used form the docu:

          switchable:
            $type: switchableField
            field:
              $type: radioButtonGroupField
              datasource:
                $type: optionListDatasource
                options:
                  - name: foo
                    value: foo
                  - name: bar
                    value: bar
            itemProvider:
              $type: jcrChildNodeProvider
            forms:
              - name: foo
                properties:
                  foo:
                    $type: textField
              - name: bar
                properties:
                  bar:
                    $type: richTextField
      

       

      Here with Labels:

        Acceptance criteria

          1. Switchable Field - With Labels.png
            69 kB
            Christian Ringele
          2. Switchable Field - With Labels - Working.png
            41 kB
            Christian Ringele
          3. Switchable Field - Without Label - Not usable.png
            43 kB
            Christian Ringele
          4. Switchable Field - Without Label - Not usable-1.png
            43 kB
            Christian Ringele

              Unassigned Unassigned
              cringele Christian Ringele
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: