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

SwitchableField should only validate selected field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Neutral Neutral
    • None
    • None
    • None
    • None

      Description:

      A switchable field which has several fields with required option should only validate that one selection has been done.

      Steps to reproduce:

      1. Create a switchable field and remove the selected:true tag of the example, so no option is marked initially.
      2. Include the new component at the available components section of the Basic page (/mtk/templates/pages/basic.yaml)
      3. Create a Basic page and include the component in the step 1
      4. Check that even selecting an option, the validation fails

      Workaround: N/A

      Notes to DEVs: it happens using both, new and old UI syntax.

        Acceptance criteria

              Unassigned Unassigned
              ccantalapiedra Carlos Cantalapiedra
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD