| 377 | } |
| 378 | |
| 379 | void TextInputNode::setAllowedChars(std::string_view allowedChars) |
| 380 | { |
| 381 | _allowedChars = allowedChars; |
| 382 | _textField->setString(sanitizeString(_textField->getString())); |
| 383 | updateDisplayedLabel(); |
| 384 | } |
| 385 | |
| 386 | void TextInputNode::setString(std::string_view str) |
| 387 | { |