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.

Constructors

Link copied to clipboard
constructor(otpLength: Int)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
open override fun TextFieldBuffer.transformInput()