From 394266cf2cfce5da97640f9d3fe27a644c74f463 Mon Sep 17 00:00:00 2001 From: Ed Chalstrey Date: Thu, 12 May 2022 15:17:00 +0100 Subject: [PATCH] get deafult value for date_source --- .../frontend/building/data-containers/age.tsx | 17 +---------------- app/src/frontend/config/data-fields-config.ts | 18 +++++++++++++++++- 2 files changed, 18 insertions(+), 17 deletions(-) diff --git a/app/src/frontend/building/data-containers/age.tsx b/app/src/frontend/building/data-containers/age.tsx index 7175d54d..4caf5bd9 100644 --- a/app/src/frontend/building/data-containers/age.tsx +++ b/app/src/frontend/building/data-containers/age.tsx @@ -63,22 +63,7 @@ const AgeView: React.FunctionComponent = (props) => { onChange={props.onChange} tooltip={dataFields.date_source.tooltip} placeholder="" - options={[ - "Expert knowledge of building", - "Expert estimate from image", - "Survey of London", - "Pevsner Guides", - "Victoria County History", - "Local history publication", - "Other publication", - "National Heritage List for England", - "Other database or gazetteer", - "Historical map", - "Other archive document", - "Film/Video", - "Other website", - "Other" - ]} + options={dataFields.date_source.items} />