How to use the address.postal_code 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('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'],
        },
        {
          name: 'address.country',
          label: 'Country',
          type: 'text',
          value: getValue('address.country'),
          error: validationErrorMessages['address.country'],
        },
      ]
    };
  },