How to use the address.locality function in address

To help you get started, we’ve selected a few address examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github synapsestudios / oidc-platform / api / src / application / user / user-views.js View on Github external
value: getValue('phone_number'),
          error: validationErrorMessages.phone_number,
        },
        {
          name: 'address.street_address',
          label: 'Street Address',
          type: 'text',
          value: getValue('address.street_address'),
          error: validationErrorMessages['address.street_address'],
        },
        {
          name: 'address.locality',
          label: 'Locality',
          type: 'text',
          value: getValue('address.locality'),
          error: validationErrorMessages['address.locality'],
        },
        {
          name: 'address.region',
          label: 'Region',
          type: 'text',
          value: getValue('address.region'),
          error: validationErrorMessages['address.region'],
        },
        {
          name: 'address.postal_code',
          label: 'Postal Code',
          type: 'text',
          value: getValue('address.postal_code'),
          error: validationErrorMessages['address.postal_code'],
        },
        {