[MGNLUI-5524] Default field values in new framework Created: 26/Nov/19  Updated: 07/May/20  Resolved: 07/May/20

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

Type: Bug Priority: Neutral
Reporter: Roman Kovařík Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: 0d
Time Spent: 5m
Original Estimate: Not Specified

Issue Links:
Relates
relates to 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

 Description   

Make sure the default values set by binder work across all fields:

info.magnolia.ui.field.factory.FieldBinder.Default#configureBinding() {
  ...

 Optional.ofNullable(definition.getDefaultValue()).ifPresent(result::withNullRepresentation);

 ... 
}


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