Announcement

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

    changed() for textfield only on exit?

    changed() works for a textItem but it fires after each character change. Is there a way to suppress this so that it only executes on exit?

    I've looked to override the editorExit() function to make a check instead but I don't see a way how to get the old value to compare against. Any suggestions?

    Thanks

    #2
    Set changeOnKeypress:false to get less frequent change notifications.

    Comment


      #3
      Sorry, I forgot to mention this is for 6.5.1. I don't seem to see that function defined anywhere.

      Comment


        #4
        It's not a function. Go ahead and set it on the FormItem involved.

        Comment


          #5
          Ah, great. Thanks for that tip. Works perfectly.

          Comment

          Working...
          X