Add tooltip to postcode

This commit is contained in:
Mike Simpson 2023-06-28 10:11:12 +01:00
parent 91eb5aeef8
commit cfb441a273
2 changed files with 2 additions and 1 deletions

View File

@ -147,6 +147,7 @@ const LocationView: React.FunctionComponent<CategoryViewProps> = (props) => {
onChange={props.onChange} onChange={props.onChange}
maxLength={8} maxLength={8}
valueTransform={x=>x.toUpperCase()} valueTransform={x=>x.toUpperCase()}
tooltip={dataFields.location_postcode.tooltip}
/> />
<Verification <Verification
slug="location_postcode" slug="location_postcode"

View File

@ -182,7 +182,7 @@ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */
category: Category.Location, category: Category.Location,
title: "Area code/"+ccconfig.postcode, title: "Area code/"+ccconfig.postcode,
example: "W1W 6TR", example: "W1W 6TR",
//tooltip: , tooltip: "Correctly formatted UK postcode, i.e. NW1 2FB",
}, },
location_address_source: { location_address_source: {
category: Category.Location, category: Category.Location,