inputNumberSpinner: inputNumberSlider: step and value requirements revised and
component to be corrected.
---------------------------------------------------------------------------------------------------------
Key: RF-9913
URL: https://jira.jboss.org/browse/RF-9913
Project: RichFaces
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: component-input
Affects Versions: 4.0.0.Milestone3
Reporter: Ilya Shaikovsky
Assignee: Nick Belaevski
Original problem from QE:
"when I set value=20 and step=9 to spinner, 18 is set on the page.
After clicking up arrow, 27 is set (correctly). These differs to 3.3.x
where 20 would be displayed on page and next number would be 27. Is
this difference between 3.3.x and 4.0.x bug or feature?"
both behaviors from 3.x and 4.x are wrong(missed during requirements gathering)
and valid is:
• base example: http://docs.jquery.com/UI/Spinner#Example
• Check currency spinner. Manually correct value to 0.50$ and try to
click on arrows.
Rules:
any numerical manual input directly in input should be allowed (but considering
min and max) and should not be corrected according to step.
any valid numerical value from the model should be set to spinner on rendering
and not corrected according to step.
Step should be considered *only* while using arrows and should be
added/substracted to *current value* in input. If in the result will be more or
less than max or min limitation - it should be set to boundary value.
The same for correction of wrong direct numerical input. e.g. direct input of
110 when max is 100 should be corrected to 100.
The same should be considered for slider. Slider also should consider step
additionally during calculations when the user slicked on visual bar element.
--
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
richfaces-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/richfaces-issues