From a9cd7a58ea82a204f3fee81dc7eea7d75095ab28 Mon Sep 17 00:00:00 2001 From: Tom Russell Date: Wed, 14 Aug 2019 22:20:55 +0100 Subject: [PATCH] Location view-only entries --- .../building/data-containers/location.tsx | 115 +++++++++++++++++- 1 file changed, 114 insertions(+), 1 deletion(-) diff --git a/app/src/frontend/building/data-containers/location.tsx b/app/src/frontend/building/data-containers/location.tsx index 6cc63ded..4638d596 100644 --- a/app/src/frontend/building/data-containers/location.tsx +++ b/app/src/frontend/building/data-containers/location.tsx @@ -2,10 +2,123 @@ import React from 'react'; import withCopyEdit from '../data-container'; import DataEntry from '../data-components/data-entry'; +import UPRNsDataEntry from '../data-components/uprns-data-entry'; const LocationView = (props) => (
- + + { + // "type": "text", + // "placeholder": "Building name (if any)", + } + + { + // "type": "number", + // "step": 1 + } + + { + // "type": "text", + } + + { + // "type": "text", + } + + { + // "type": "text" + } + + { + // "type": "text", + // "max_length": 8 + } + + { + // "type": "text", + } + + { + // "type": "uprn_list", + } + + { + // "type": "text", + // "max_length": 20 + } + + { + // "type": "number", + // "step": 0.0001, + // "placeholder": 51 + } + + { + // "type": "number", + // "step": 0.0001, + // "placeholder": 0 + }
) const LocationContainer = withCopyEdit(LocationView);