Preview deployment

interface TextInputComponentData

export interface TextInputComponentData extends BaseComponentData

customId : string

The custom id of the text input

label : string

The text that appears on top of the text input field

optional
maxLength? : number

The maximum number of characters that can be entered in the text input

optional
minLength? : number

The minimum number of characters that can be entered in the text input

optional
placeholder? : string

Placeholder for the text input

optional
required? : boolean

Whether or not the text input is required or not

The style of the text input

optional
value? : string

The pre-filled text in the text input