The URL component for Retool Apps
An input field to enter a URL.
URL is a preset version of Text Input. It has been preconfigured with common options for URL input.
Settings
URL includes the following configurable options when building apps in the IDE.
Show on desktopShow on mobileMaintain space when hiddenMarginAlways show in edit modeStyles |
Properties
All properties for URL with supported data types or values. You can write JavaScript almost anywhere in Retool to manipulate or read property values.
autoCapitalize
The type of automatic capitalization that the browser can automatically perform when using virtual or on-screen keyboards.
Values
none | No capitalization. |
sentences | Capitalize sentences. |
words | Capitalize words. |
characters | Capitalize characters. |
autoComplete
Whether the browser can perform autocomplete on the input field.
customValidation
The custom validation message to display if the invalid
is true
.
Properties
method
The JavaScript method to perform when type
is datasource
, widget
, state
, or localStorage
.
Values
datasource | Control query. |
widget | Control component. |
script | Run script. |
state | Set variable. |
localStorage | Set localStorage. |
util | Perform utility action (e.g., Open URL or Confetti). |