OnValueChanged

data class OnValueChanged(val value: String) : SimpleTextFieldEvent

Event triggered when the text field value changes. This event is fired whenever the user types or deletes characters, providing the current input value.

Parameters

value

The current text value of the field

Example:

when (event) {
is SimpleTextFieldEvent.OnValueChanged -> {
updateState(event.value)
}
}

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard