TextFiledData

data class TextFiledData(val value: String, val errorMessage: String? = null)

Data class representing the state of a text field.

Constructors

Link copied to clipboard
constructor(value: String, errorMessage: String? = null)

Properties

Link copied to clipboard
val errorMessage: String? = null

An optional error message associated with the text field.

Link copied to clipboard

The current value of the text field.