LocationPicker

Domain

Location form with country selector (countries-list), city, state, postal code, and optional lat/lng. 2-column grid layout.

Empty

Preview
Code
<%- include('modules/domain/common/location/LocationPicker', {
  action: '/locations/update',
  countries: countryList
}) %>

Pre-filled

Preview
Code
<%- include('modules/domain/common/location/LocationPicker', {
  action: '/locations/update',
  cancelHref: '/settings',
  countries: countryList,
  initial: { city: 'Istanbul', countryCode: 'TR', postalCode: '34000', latitude: 41.0082, longitude: 28.9784 }
}) %>
Source modules/domain/common/location/LocationPicker.ejs