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

defaultValue in M5 checkbox dialog definitions does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Neutral
    • None
    • 6.2.2
    • configuration
    • Yes
    • UI FW 13

    Description

      Steps to reproduce

      Configure M5 dialog definition with a checkbox, we can't get it to be checked by default using defaultValue:

          - name: assetDisplayGradient
            fieldType: checkbox
            label: Display gradient?
            buttonLabel: Checked - yes, unchecked - no
            defaultValue: true
            description: Gradient to be displayed over the media asset to help with readibility
      

      Expected results

      defaultValue property should set it to be checked

      Actual results

      field has not been checked

      Workaround

      no

      Development notes

      no

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                viet.nguyen Viet Nguyen
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD