DomposableTextFieldProps
data class DomposableTextFieldProps(val value: String, val onValueChange: (String) -> Unit, val label: String, val purpose: DomposableInputPurpose = DomposableInputPurpose.Text, val enabled: Boolean = true, val multiline: Boolean = false, val error: String? = null, val readOnly: Boolean = false, val placeholder: String? = null, val id: String? = null, val passwordVisible: Boolean = false, val autocomplete: DomposableAutocomplete? = null, val showLabel: Boolean = true, val singleLine: Boolean = !multiline, val minLines: Int = 1, val maxLines: Int = Int.MAX_VALUE, val helperText: String? = null, val isError: Boolean = error != null, val autofocus: Boolean = false, val imeAction: DomposableImeAction = DomposableImeAction.Default, val onClick: () -> Unit? = null, val onImeAction: () -> Unit? = null, val leadingIcon: @Composable () -> Unit? = null, val prefix: @Composable () -> Unit? = null, val trailingIcon: @Composable () -> Unit? = null, val appearance: DomposableTextFieldAppearance? = null, val onFocusChange: (Boolean) -> Unit? = null)
Renderer-neutral text input behavior and content. New primary-constructor parameters preserve existing Kotlin source calls through defaults; binary consumers should use the next 0.x minor.
Constructors
Link copied to clipboard
constructor(value: String, onValueChange: (String) -> Unit, label: String, purpose: DomposableInputPurpose = DomposableInputPurpose.Text, enabled: Boolean = true, multiline: Boolean = false, error: String? = null, readOnly: Boolean = false, placeholder: String? = null, id: String? = null, passwordVisible: Boolean = false, autocomplete: DomposableAutocomplete? = null, showLabel: Boolean = true, singleLine: Boolean = !multiline, minLines: Int = 1, maxLines: Int = Int.MAX_VALUE, helperText: String? = null, isError: Boolean = error != null, autofocus: Boolean = false, imeAction: DomposableImeAction = DomposableImeAction.Default, onClick: () -> Unit? = null, onImeAction: () -> Unit? = null, leadingIcon: @Composable () -> Unit? = null, prefix: @Composable () -> Unit? = null, trailingIcon: @Composable () -> Unit? = null, appearance: DomposableTextFieldAppearance? = null, onFocusChange: (Boolean) -> Unit? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard