Search...
filter
Sets or gets the filter of the address input.
Description
The filter
property restricts address input suggestions to addresses within
the country specified in the AddressFilter
object.
Countries must be specified using ISO_3166country codes.
Type:
AddressFilterRead & Write
NAME
TYPE
DESCRIPTION
Was this helpful?
Get an address input's filter
Copy Code
1let filter = $w("#myAddressInput").filter;23/*4 * {5 * "country": "AUS" // Australia6 * }7 */
Set an address input's filter
Copy Code
1let filter = {2 "country": "AUS" // Australia3};45$w("#myAddressInput").filter = filter;