I need to have a text editing field where I validate what the users type. I’m currently using Label and Label::setEditable() to provide the text field.
I’m thinking of using either Component::focusLost() or Label::Listener::labelTextChanged() to run some validation on the text obtained by Label::getText( true ), and then highlighting problems to the user as necessary. Before I do this, I figured I would ask in case I missed some other obvious or easier method by which the user’s input can be filtered and/or validated.