OtpInputTransformation
Keeps a text field to at most otpLength ASCII digits.
Anything else in an edit is dropped instead of rejecting the whole edit, so pasting "Code: 123-456" leaves "123456". The cursor always ends up after the last digit. OtpInputField applies this for you. Use it directly only with your own BasicTextField.