Chethan

    Chethan

    1 year ago
    How to give character limit to OutlinedTextField or TextField ?? I do not see this attribute to set
    Saurabh Thorat

    Saurabh Thorat

    1 year ago
    TextField(
        value = textState,
        onValueChange = { value ->
            if (value.text.length <= limit)
                textState = value
        }
    )
    Chethan

    Chethan

    1 year ago
    Thanks, I actually did in this way