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, visualTransformation: VisualTransformation = VisualTransformation.None, keyboardActions: KeyboardActions = KeyboardActions.Default, 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.).

visualTransformation

Transforms the visual representation of the input value. For example, you can use it to add unit suffixes like "cm" or "kg".

keyboardActions

Configuration of keyboard actions to be triggered when the input service emits an IME action. Actions specified here will be triggered in addition to the default actions performed by TextField.

onValueChange

Callback for when the value of the TextField changes.