setMaxLength

fun setMaxLength(length: Int)

Sets the maximum length of the text.

Parameters

length

The maximum length of the text.