[MGNLUI-6119] defaultValue in M5 checkbox dialog definitions does not work Created: 06/Aug/20  Updated: 22/Dec/20  Resolved: 26/Oct/20

Status: Closed
Project: Magnolia UI
Component/s: configuration
Affects Version/s: 6.2.2
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Viet Nguyen Assignee: Unassigned
Resolution: Obsolete Votes: 0
Labels: defaultValue
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to MGNLUI-5852 Streamline default value configuratio... Closed
causality
caused by MGNLUI-5325 Support defaultValue in fields of new... 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
Testcase included:
Yes
Date of First Response:
Sprint: 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



 Comments   
Comment by Viet Nguyen [ 06/Aug/20 ]

Please help update us with any workaround for this.

Comment by Aleksandr Pchelintcev [ 26/Oct/20 ]

Superseded by MGNLUI-5852 effort.

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