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

defaultValue in M5 checkbox dialog definitions does not work

XMLWordPrintable

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

      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

        Acceptance criteria

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

                Created:
                Updated:
                Resolved: