TextInputOptions

interface TextInputOptions

Options for a modal text input.

exported from lib.weeble.d

Properties

Property

Type

Description

customId

string

Custom ID for the text input.

label

string

Label displayed above the input field.

maxLength?

number

Maximum character length.

minLength?

number

Minimum character length.

placeholder?

string

Placeholder text shown when the input is empty.

required?

boolean

Indicates whether this input is required.

style?

TextInputStyle

Visual style (single-line vs paragraph).

value?

string

Pre-filled value.