[MGNLUI-6145] checkBoxField: 'defaultValue' property is ignored. Created: 20/Aug/20  Updated: 03/Nov/20  Resolved: 03/Nov/20

Status: Closed
Project: Magnolia UI
Component/s: dialogs, forms
Affects Version/s: 6.2.2
Fix Version/s: 6.2.3

Type: Bug Priority: Major
Reporter: Christian Ringele Assignee: Unassigned
Resolution: Obsolete Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
supersession
is superseded by BLOSSOM-134 Show registered Blossom Templates/Com... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:

 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.



 Comments   
Comment by Simon Lutz [ 24/Aug/20 ]

Hi cringele, this should be fixed by MGNLUI-5325 - available on the latest 6.2.3 snapshot.

Comment by Christopher Zimmermann [ 03/Nov/20 ]

Fixed in https://jira.magnolia-cms.com/browse/MAGNOLIA-7927

Generated at Mon Feb 12 09:33:36 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.