Search and Top Navigation
#9458 closed bug (notabug)
Opened July 26, 2013 12:19AM UTC
Closed July 26, 2013 02:33AM UTC
Possible flaw in Spinner Widget
Reported by: | karl.auerbach | Owned by: | karl.auerbach |
---|---|---|---|
Priority: | minor | Milestone: | none |
Component: | ui.spinner | Version: | 1.10.3 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
In 1.10.3 there appears to be a flaw in the Spinner widget.
The problem occurs when a min setting is given. If the min value is M and a value of V is given then the value displayed in the widget is V+M.
I have created a simple page to illustrate the problem: http://iwl.com/tech_examples/spin-widget-july252013.html
There appears to be an additional problem that occurs when a spinner is used inside a Tab widget. That problem appears to multiply the "step" value by the number of tabs and adds that to the value that is displayed. This seems to be context and value sensitive - for example I could not cause it to trigger with "step" values of 8000 or lower. However, I do not have a clear example of this.
Attachments (0)
Change History (2)
Changed July 26, 2013 01:50AM UTC by comment:1
owner: | → karl.auerbach |
---|---|
status: | new → pending |
Changed July 26, 2013 02:33AM UTC by comment:2
resolution: | → notabug |
---|---|
status: | pending → closed |
You're trying to set an invalid value according to the min, max, and step. This behavior is correct. In the future, when you think there is a *potential* bug, please ask on the forums first.
Moved your test case: http://jsfiddle.net/tj_vantoll/n2HHA/. This is occurring because you're providing invalid data - the
is not a multiple of the .If you would like us to look into the tabs issue we need a reduced test case that shows the issue. You can use this as a starting point: http://jsfiddle.net/tj_vantoll/ZjgbK/.