setMaxLength

fun setMaxLength(length: Int)

The max text length to display.