Skip to main content
io.input.text() requests a string value. Provided by the @awaitio/input-text package.
A Search for text field filled with refund, with help text under it

Install

Setup

Register it under the key you want in io, see Components:
app.ts

Usage

Props

Props are checked when the io call is made: a prop of the wrong type throws in the handler.

Returns

string, exactly as typed, including surrounding spaces.

Validation

The field is always required. The server checks every answer, so these messages come back even when the browser’s own checks are bypassed:
The Name field with the message Name is required. under it