-
Bug
-
Resolution: Fixed
-
Normal
-
6.0.1
-
None
-
None
<window title="My First Window" border="normal">
<label multiline="true">
1.click button, you should not get the spinner error message
2.change the spinner value to 1,then click button, you should get alert : spinner value is 1
3.clear the spinner value to empty,then click button, you should get alert : spinner value is null
you can check the behavior with double spinner , they are different.
Question is,
1.which one is correct?
2.UI display 0, but why I get error in spinner and null in double spinner
</label>
<spinner id="s"/>
<button label="click1" onClick='alert("spinner value "+s.getValue())'/>
<doublespinner id="sd"/>
<button label="click2" onClick='alert("dsoublespinner value "+sd.getValue())'/>
</window>