add current_landuse_source data field

This commit is contained in:
Ed Chalstrey 2022-04-29 11:00:56 +01:00
parent 2476cc2c1e
commit 146759b341
2 changed files with 8 additions and 2 deletions

View File

@ -52,13 +52,13 @@ const UseView: React.FunctionComponent<CategoryViewProps> = (props) => (
onChange={props.onChange}
/>
<SelectDataEntry
title={dataFields.date_source.title}
title={dataFields.current_landuse_source.title}
slug="use_source"
value={props.building.date_source}
mode={props.mode}
copy={props.copy}
onChange={props.onChange}
tooltip={dataFields.date_source.tooltip}
tooltip={dataFields.current_landuse_source.tooltip}
placeholder=""
options={[
"Expert knowledge of building",

View File

@ -193,6 +193,12 @@ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */
tooltip: "Land use Order as classified by [NLUD](https://www.gov.uk/government/statistics/national-land-use-database-land-use-and-land-cover-classification)",
example: "",
},
current_landuse_source: {
category: Category.LandUse,
title: "Source of information",
tooltip: "Source for the current land use",
example: "",
},
building_attachment_form: {
category: Category.Type,