io.input.email
Requests an email address.
Usage
- TypeScript
- JavaScript
- Python
const email = await io.input.email("Email address", {
helpText: "Please provide your work email.",
placeholder: "you@example.com",
});
const email = await io.input.email("Email address", {
helpText: "Please provide your work email.",
placeholder: "you@example.com",
});
email = await io.input.email("Email address",
help_text="Please provide your work email.",
placeholder="you@example.com",
)
interval.com
Props
- TypeScript
- JavaScript
- Python
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
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
default_value
Optional
bool
Default value for the input.
disabled
Optional
bool
Whether the input is disabled, preventing edits to the default value.
help_text
Optional
str
Secondary label for providing additional context.
placeholder
Optional
str
Text to display in the input when no value is set.
Returns
str
Did this section clearly explain what you wanted to learn?