[MGNLUI-5525] Implement a slider field Created: 26/Nov/19 Updated: 09/Mar/21 Resolved: 10/Dec/19 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | framework |
| Affects Version/s: | None |
| Fix Version/s: | 6.2 |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Andrei Ichimescu | Assignee: | Andrei Ichimescu |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| 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)
|
||||||||||||||||
| Release notes required: |
Yes
|
||||||||||||||||
| Documentation update required: |
Yes
|
||||||||||||||||
| Description |
|
Implement a slider field using the stock Vaadin component. Mockup for the slider is available here: https://preview.uxpin.com/6d073bb3a8ea49f4d1f820f5bc47c39ad3b73e1d#/pages/116232203/comment/sitemap |
| Comments |
| Comment by Andrei Ichimescu [ 10/Dec/19 ] |
|
Usage (in yaml):
allocation:
$type: sliderField
min: 0
max: 100
defaultValue: 50
valueFormat: PERCENTAGE
stepSize: 5
gridStepSize: 25
valueFormat can be either NUMBER or PERCENTAGE ("%" character is appended on the current value and on the grid ) |