FormTextField

fun FormTextField(value: String, onValueChange: (String) -> Unit, placeholder: String, modifier: Modifier = Modifier)

Displays a multi-line text field for longer form responses.

Parameters

value

The current text displayed in the field.

onValueChange

Callback invoked when the user edits the text.

placeholder

Text displayed when the field is empty.

modifier

Modifier used to customize the text field layout.