ComboBox TextEditor and setInputRestrictions

Is there an easy way to add input restrictions (setInputRestrictions?) to the ComboBox Text Editor that allows to change the ComboBox value? I want to make shure that the user can not enter ComboBox Text with special characters and i couldnt find a way to access the internal TextEditor.

You’d have to override the LookAndFeel::createComboBoxTextBox method, I think.

Totally overlooked that. Until now i thought the look and feel class just implements drawing stuff. this is exactly what i need. Thanks!