-
Bug
-
Resolution: Fixed
-
Normal
-
6.5.1
When deleting a value previously entered in doublespinner, Doublespinner.getTargetValue() throws WrongValueException.
Guess null values should be accepted.
public class DoubleSpinnerVM { private Double doubleValue; public Double getDoubleValue() { return doubleValue; } public void setDoubleValue(Double doubleValue) { this.doubleValue = doubleValue; } }
<window apply="org.zkoss.bind.BindComposer" viewModel="@id('vm') @init('DoubleSpinnerVM')"> <doublespinner value="@bind(vm.doubleValue)" /> </window>