InputBuilder

data class InputBuilder(    val label: String,     var style: TextInputStyle = TextInputStyle.Paragraph,     var required: Boolean = true,     var allowedLength: ClosedRange<Int>? = null,     var value: String? = null,     var placeholder: String? = null)

Constructors

Link copied to clipboard
fun InputBuilder(    label: String,     style: TextInputStyle = TextInputStyle.Paragraph,     required: Boolean = true,     allowedLength: ClosedRange<Int>? = null,     value: String? = null,     placeholder: String? = null)

Properties

Link copied to clipboard
var allowedLength: ClosedRange<Int>? = null

A range of accepted input length.

Link copied to clipboard
val label: String

The prompt displayed above a text input field.

Link copied to clipboard
var placeholder: String? = null

Placeholder while input is empty.

Link copied to clipboard
var required: Boolean = true

Whether this field is required to be filled.

Link copied to clipboard
var style: TextInputStyle

The type of TextInputStyle to display as.

Link copied to clipboard
var value: String? = null

A pre-filled value, max 4000 characters