Sign In

$addTextInput[]

Adds a text input field to the modal

v1.0.0+ Requires Brackets

Usage

$addTextInput[;;;;;;;]

Arguments

NameTypeRequiredDescription
custom ID
StringYesThe custom id for this field
name
StringYesThe field name, will be overwritten when used inside a label
type
NoParagraph or short
required
BooleanNoWhether this field is required
placeholder
StringNoThe placeholder to use for the field
default value
StringNoThe default value for the field
minimum length
NumberNoThe minimum length needed
maximum length
NumberNoThe max length needed

Was this page helpful?