DiSky DiSky v5.0.0-b1

Text Input

type

A text field of a modal. Read what the user typed in 'on modal received' with 'value of text input with id'. It only lives inside a modal, never on a message, and needs a label there.

10 syntaxesextends Componentnet.itsthesky.disky5.api.components.TextInputBuilder
10 / 10

Properties

9
propertyText
[the] custom id of %textinput%
%textinput%'s custom id
change modes set
Helpful?
propertyText
[the] label of %textinput%
%textinput%'s label
change modes set
Helpful?
propertyText
[the] description of %textinput%
%textinput%'s description
change modes set
Helpful?
propertyText
[the] placeholder of %textinput%
%textinput%'s placeholder
change modes set
Helpful?
propertyTextsince 5.0.0-a1
[the] default value of %textinput%
%textinput%'s default value

The text pre-filled in the input when the modal opens.

change modes set
Helpful?
propertyNumber
[the] min range of %textinput%
%textinput%'s min range
change modes set
Helpful?
propertyNumber
[the] max range of %textinput%
%textinput%'s max range
change modes set
Helpful?
propertyBoolean
[the] required of %textinput%
%textinput%'s required
change modes set
Helpful?
propertyTextInputStyle since 5.0.0-a1
[the] style of %textinput%
%textinput%'s style

The style of a button (its color) or of a text input (short or paragraph). Co-owned with Skript's native Property.STYLE.

change modes set
Helpful?

Expressions

1
expressionText Inputsince 5.0.0-a1
[a] new [%-textinputstyle%] text[( |-)]input [with] [the] id %string% (named|labeled|with [the] label) %string%

Creates a text input for a modal. The style is 'short' (one line, the default) or 'paragraph' (a text area).

Helpful?

Returned by

1

Syntaxes elsewhere in DiSky that return Text Input.

An unhandled error has occurred. Reload 🗙

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.