maxLength

Returns [InputTransformation] that rejects input which causes the total length of the text field

maxLength

Function

Common
fun InputTransformation.maxLength(maxLength: Int): InputTransformation

Returns InputTransformation that rejects input which causes the total length of the text field to be more than maxLength characters.