Skip to content

io.input.email ​

Represents a email component.

Usage ​

ts
const value = await io.input.email("Email")
python
value = await io.input.email("Email")

example of Forge app with email component

Props ​

defaultValue Optional ​

string
Default value for the input.

disabled Optional ​

boolean
Whether the input is disabled, preventing edits to the defaultValue.

helpText Optional ​

string
Optional secondary label providing additional context. Supports inline markdown elements like bold, italics, and links.

placeholder Optional ​

string
Text to display in the input when no value is set.

Returns ​

string