InputGroupScope

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun <T> Input(type: InputType<T>, value: T, onValueChange: (T) -> Unit, modifier: Modifier = Modifier, variant: CssStyleVariant<InputKind>? = InputDefaults.Variant, placeholder: String? = null, enabled: Boolean = InputDefaults.Enabled, valid: Boolean = InputDefaults.Valid, required: Boolean = InputDefaults.Required, readOnly: Boolean = InputDefaults.ReadOnly, spellCheck: Boolean = InputDefaults.SpellCheck, autoComplete: AutoComplete? = null, onCommit: () -> Unit = {}, placeholderColor: PlaceholderColor? = null, focusBorderColor: CSSColorValue? = null, invalidBorderColor: CSSColorValue? = null, ref: ElementRefScope<HTMLInputElement>? = null)
Link copied to clipboard
fun LeftAddon(modifier: Modifier = Modifier, block: @Composable BoxScope.() -> Unit)

Declare an addon element which will be placed on the left side of the input.

Link copied to clipboard
fun LeftInset(modifier: Modifier = Modifier, width: CSSLengthOrPercentageNumericValue? = null, block: @Composable BoxScope.() -> Unit)

Declare an inset element which will be placed within the left side of the input.

Link copied to clipboard
fun RightAddon(modifier: Modifier = Modifier, block: @Composable BoxScope.() -> Unit)

Declare an addon element which will be placed on the right side of the input.

Link copied to clipboard
fun RightInset(modifier: Modifier = Modifier, width: CSSLengthOrPercentageNumericValue? = null, block: @Composable BoxScope.() -> Unit)

Declare an inset element which will be placed within the right side of the input.

Link copied to clipboard
fun InputGroupScope.TextInput(text: String, onTextChange: (String) -> Unit, modifier: Modifier = Modifier, variant: CssStyleVariant<InputKind>? = InputDefaults.Variant, placeholder: String? = null, placeholderColor: PlaceholderColor? = null, focusBorderColor: CSSColorValue? = null, invalidBorderColor: CSSColorValue? = null, password: Boolean = false, enabled: Boolean = InputDefaults.Enabled, valid: Boolean = InputDefaults.Valid, required: Boolean = InputDefaults.Required, readOnly: Boolean = InputDefaults.ReadOnly, spellCheck: Boolean = InputDefaults.SpellCheck, autoComplete: AutoComplete? = null, onCommit: () -> Unit = {}, ref: ElementRefScope<HTMLInputElement>? = null)