Skip to content

io.input.url ​

Represents a url component.

Usage ​

ts
const value = await io.input.url("Link")
python
value = await io.input.url("Link")

example of Forge app with url component

Props ​

allowedProtocols Optional ​

array
Optional array of allowed protocols. Default are http and https.

defaultValue Optional ​

string
Default value for the input.

disabled Optional ​

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

helpText Optional ​

string
Secondary label for 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 URL ​