Key filter for TextEditors?


#1

Is there a way to limit the input to a TextEditor to be characters or numbers?
I’m not seeing anything in the TextEditor header.


#2

Yep, it’s called setInputRestrictions()!


#3

Thanks! I knew I had seen that function somewhere, but completely overlooked it when reviewing the headers.