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

checkBoxField: 'defaultValue' property is ignored.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Obsolete
    • Affects Version/s: 6.2.2
    • Fix Version/s: 6.2.3
    • Component/s: dialogs, forms
    • Labels:
      None

      Description

      The 'defaultValue' property of the common field properties is ignored on the checkBoxField. Opening this filed the first time, the checkbox is not checked:

          inheritable:
            $type: checkBoxField
            label: Inherit
            buttonLabel: Select to show on subpage
            defaultValue: true
            type: java.lang.Boolean
      

      I could imagine, that other fields also ignore it, should be tested.
      Just tested on a textField, there it works properly.

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                cringele Christian Ringele
                Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Date of First Response:

                    Checklists

                    Bug DoR
                    DoD