Announcement

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

    Why no FloatItem.setChangeOnKeypress() method?

    It appears that FloatItem has no method to setChangeOnKeypress(false) like other FormItems have. The default behavior is to fire the ChangedHander after each keypress. Is there some way to have the changedHandler only fire when the user has completed the change and is exiting the field. I don't see any way to add an EditorExitHandler either. Is a BlurHandler the only option?

    #2
    That's an oversight, the changeOnKeypress property is supported for FloatItem - you could use setAttribute() to set it, or yes, Blur is a reliable way to detect field exit in this case.

    Comment

    Working...
    X