Project

General

Profile

WLineEdit changed event not firing as expected

Added by Michelle Dupuis almost 5 years ago

I am working on a simple form, with a few inputs. I connected a print statement to the changed signal of the WLineEdit input A.

Strangely, when I modify input A and A loses focus (move to input B) the changed event does NOT fire for A. However, when I move focus back to A then A's changed event DOES fire.

I don't think I could have messed this up...is this a Wt bug or do I misunderstand when changed is supposed to fire?


Replies (1)

RE: WLineEdit changed event not firing as expected - Added by lm at almost 5 years ago

I think I've used this event quite a bit, and not had problems. May we see your code?

On a related note, see the textInput signal, too. I wind up preferring that signal anyway.

    (1-1/1)