un-disable

This commit is contained in:
Ed Chalstrey 2022-07-05 16:29:30 +01:00
parent e97b94bded
commit c3323d9531

View File

@ -24,7 +24,7 @@ const LocationView: React.FunctionComponent<CategoryViewProps> = (props) => (
onChange={props.onChange} onChange={props.onChange}
tooltip={dataFields.location_name.tooltip} tooltip={dataFields.location_name.tooltip}
placeholder="Building name (if any)" placeholder="Building name (if any)"
disabled={true}
/> />
<Verification <Verification
slug="location_name" slug="location_name"
@ -61,7 +61,7 @@ const LocationView: React.FunctionComponent<CategoryViewProps> = (props) => (
mode={props.mode} mode={props.mode}
copy={props.copy} copy={props.copy}
onChange={props.onChange} onChange={props.onChange}
disabled={true}
/> />
<Verification <Verification
slug="location_street" slug="location_street"
@ -79,7 +79,7 @@ const LocationView: React.FunctionComponent<CategoryViewProps> = (props) => (
mode={props.mode} mode={props.mode}
copy={props.copy} copy={props.copy}
onChange={props.onChange} onChange={props.onChange}
disabled={true}
/> />
<DataEntry <DataEntry
title={dataFields.location_town.title} title={dataFields.location_town.title}
@ -88,7 +88,7 @@ const LocationView: React.FunctionComponent<CategoryViewProps> = (props) => (
mode={props.mode} mode={props.mode}
copy={props.copy} copy={props.copy}
onChange={props.onChange} onChange={props.onChange}
disabled={true}
/> />
<DataEntry <DataEntry
title={dataFields.location_postcode.title} title={dataFields.location_postcode.title}
@ -99,7 +99,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()}
disabled={true}
/> />
<DataEntry <DataEntry
title={dataFields.ref_toid.title} title={dataFields.ref_toid.title}
@ -109,7 +109,7 @@ const LocationView: React.FunctionComponent<CategoryViewProps> = (props) => (
copy={props.copy} copy={props.copy}
tooltip={dataFields.ref_toid.tooltip} tooltip={dataFields.ref_toid.tooltip}
onChange={props.onChange} onChange={props.onChange}
disabled={true}
/> />
<UPRNsDataEntry <UPRNsDataEntry
title={dataFields.uprns.title} title={dataFields.uprns.title}