[MGNLUI-5640] Slider field always display default value instead of saved value Created: 04/Feb/20  Updated: 06/Feb/20  Resolved: 05/Feb/20

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

Type: Bug Priority: Neutral
Reporter: Nguyen Phung Chi Assignee: Nguyen Phung Chi
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Problem/Incident
causes ABTEST-127 Unable to save the allocation info wh... 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
Sprint: Add-Ons 30

 Description   

Here is the sample usage of sliderField in yaml, the default value is 50.

// sample usage 
allocation:
  $type: sliderField
  min: 0
  max: 100
  defaultValue: 50
  valueFormat: PERCENTAGE
  stepSize: 5
  gridStepSize: 25

The user-entered value can be saved into JCR, but it shows the default value in edit mode.

AC:

Shows the saved value in edit mode.


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