OnInputChangedScope

class OnInputChangedScope(val id: Any, var input: String, val prevInput: String, var index: Int, val edit: InputEdit)(source)

Fields and methods accessible within a callback triggered by onInputChanged.

Constructors

Link copied to clipboard
constructor(id: Any, input: String, prevInput: String, index: Int, edit: InputEdit)

Properties

Link copied to clipboard
Link copied to clipboard
val id: Any

The ID of the current input, if one was specified in the original call to input.

Link copied to clipboard
var index: Int
Link copied to clipboard

The text value of the input entered by the user. This value can be modified, which will affect the final input rendered.

Link copied to clipboard

The previous (last good) state of the input.

Functions

Link copied to clipboard

Indicate that the current input change isn't valid and the last state should be restored.