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
constructor(label: String, style: TextInputStyle = TextInputStyle.Paragraph, required: Boolean = true, allowedLength: ClosedRange<Int>? = null, value: String? = null, placeholder: String? = null)

Properties

Link copied to clipboard

A range of accepted input length.

Link copied to clipboard

The prompt displayed above a text input field.

Link copied to clipboard

Placeholder while input is empty.

Link copied to clipboard

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

A pre-filled value, max 4000 characters