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('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'],
},
{