textbox validation fix
This commit is contained in:
@@ -269,7 +269,7 @@ void TextBox::typed(unsigned int codepoint) {
|
|||||||
|
|
||||||
bool TextBox::validate() {
|
bool TextBox::validate() {
|
||||||
if (validator) {
|
if (validator) {
|
||||||
valid = validator(input);
|
valid = validator(getText());
|
||||||
} else {
|
} else {
|
||||||
valid = true;
|
valid = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user