[MGNLUI-8414] Required slider field doesn't accept min value Created: 02/Oct/23 Updated: 12/Oct/23 |
|
| Status: | Accepted |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | 6.2.14 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Brano Sandala | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| 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
|
| Epic Link: | Improve Slider Field |
| Team: |
| Description |
Steps to reproduce
Expected resultsUser can pick the min value (unless the documentation explicitly mentions that https://docs.magnolia-cms.com/product-docs/6.2/Developing/Templating/Dialog-definition/Field-definition/List-of-fields/Slider-field.html#_field_specific_properties). Actual results"This field is required" in the slider field WorkaroundSet the min value one step below the real accepted minum value. Development notesThe current impl considers the empty value as equal min value. https://git.magnolia-cms.com/projects/PLATFORM/repos/ui.pub/browse/magnolia-ui-framework/src/main/java/info/magnolia/ui/field/SliderField.java#153. Tip: How textField with com.vaadin.data.converter.StringToDoubleConverter handles the empty value?
|