Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
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'],
},
]
};
},