Search.../

placeholder

Sets or gets the placeholder of the address input.

Description

Placeholder text is typically used to provide a hint to the user describing what the input is for. When the user chooses an address, the placeholder text is replaced by the formatted value of the address.

Type:

stringRead & Write

Was this helpful?

Get an address input's placeholder

Copy Code
1let placeholderText = $w("#myAddressInput").placeholder; // "Enter address"
Set an address input's placeholder

Copy Code
1$w("#myAddressInput").placeholder = "Enter address";