New Text Input (Expression) — DiSky

Addon: DiSky · Category: Expression · Since: 5.0.0-a1

Syntax

[a] new [%types.textinputstyle%] text[( |-)]input [with] [the] id %text% (named|labeled|with [the] label) %text%

Description

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

Examples

set {_i} to a new short text input with id "name" labeled "Your name"
set {_i} to a new paragraph text input with id "body" labeled "Your message"
add {_i} to components of {_modal}

View source