3 Replies Latest reply on Dec 3, 2007 6:55 AM by Ilya Shaikovsky

    InputNumberSpinner problem

    Manuel Martin Newbie

      Hello everybody,

      I got a problem with inputNumberSpinner and I don't know if is a bug or a mistake of my code.

      I get the next code:

      <rich:inputNumberSpinner value="#{myBean.counter}"
       onchange="alert(this.getValidValue())"
       minValue="0"
       maxValue="10"
       cycled="false" />


      If I increment or decrement de inputNumberSpinner with mouse, all works fine and allways show the alert.

      Now suppose that the control has 3 as value and I input 20 by hand. Automatically the control transforms 20 to 10, but not shows the alert with the new value.

      Is a mistake of my code or is a bug of the control?

      Thanks a lot!