KPMultiLineOutlineTextField

fun KPMultiLineOutlineTextField(style: OutlinedTextFieldStyle, value: String, modifier: Modifier = Modifier, maxChar: Int? = null, label: String? = null, placeholder: String? = null, errorLabel: String? = null, isError: Boolean = false, enabled: Boolean = true, colors: TextFieldColors = style.outlinedTextFieldColors, onValueChange: (String) -> Unit)

Composable function to create a multi-line text input field with an outlined style.

Parameters

style

Style configuration for the TextField. This should be an object implementing the OutlinedTextFieldStyle interface.

value

The initial value for the TextField.

modifier

Modifier used to shape the TextField.

maxChar

Maximum number of characters allowed in the TextField.

label

The label text to display above the TextField.

errorLabel

The error message to display below the TextField when there is an error.

isError

Indicates whether the TextField is in an error state.

enabled

Determines if the TextField is enabled for interaction.

colors

The colors configuration for the TextField. This parameter allows configuring the colors of the TextField component, including the text color, background color, and colors for different states (such as selected, focused, disabled, etc.).

onValueChange

Callback for when the value of the TextField changes.