Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    changed not fired when typing in a spinnerItem

    SmartClient Version: v9.0p_2013-08-04/EVAL Development Only

    Chrome

    in the showcase sample #spinnerItem, the changed event is not fired when typing in the spinnerItem. If, after typing, you'll click on a arrow button, the changed event will fire two times.

    #2
    This is as designed: the SpinnerItem is changeOnKeypress:false by default because, like DateItem, the value may be invalid during text entry (for example, just "-" or "2.") and should not be validated until blur.

    So you're seeing the value change on blur as you click on the spinner (because the user-entered value is being parsed right then), then change again because of the spinner click itself.

    Comment


      #3
      thanks, changeOnKeypress:true was the right setting for our use case.

      Comment

      Working...
      X