CountTextField

fun CountTextField(title: String, maxLength: Int, countField: CountField = CountField(), styleLabel: TextStyle = LocalTextStyle.current)

Author: @Jeluchu

This component is based on EditText in which you can check how many characters you have typed and what is the maximum

Parameters

title

title to be displayed at the top of the EditText / TextField

maxLength

maximum number of characters the user can type

countField

from here you can customise the text and TextField colours

styleLabel

customise the style of the text

Samples

CountTextFieldPreview