Text input control in cards

A field for users to type text.

Properties

Default value – The initial value for this field.

Placeholder – Description of the input desired. Displayed when no selection has been made.

Label – Label for this input.

Multiline – If true, allow multiple lines of input.

Style – Determines the input type of the text input control, allowed values: text, tel, url, email, password.

Max length – Hint of maximum length characters to collect (may be ignored by some clients).

InlineAction – The inline action for the input. Typically displayed to the right of the input. It is strongly recommended to provide an icon on the action (which will be displayed instead of the title of the action).

Initially visible – If false, this item will be removed from the visual tree.

Spacing – Controls the amount of spacing between this control and the preceding control.

Divider – When true, draw a separating line at the top of the control.

Height – Specifies the height of the control.

Required field – Whether or not this input is required.

Error message – Error message to display when entered input is invalid.

Regex – Regular expression indicating the required format of this text input.

Repeat for every – The source of data that is used to show multiple instances of this control. Learn how to use repeat for every.

Show when – Conditional layout expression.