Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
I´m trying to implement function fixup() after subclass QValidator, but it´s not working.
Can anyone help me?
void email::fixup(QString &input) const
if(input != input.toLower())
input = input.toLower();
MichelS last edited by
Can you please describe what the expected and the actual behavior is?
I´d expect that if an upper case character is inserted, it should become lower case. But at my QComboBox I can insert upper case characters and nothing happens.
P.S.: I implemented the validate() function and it works.
I called fixup function from validate and it works.