aply interface rewrite draft

This commit is contained in:
Mateusz Konieczny 2022-09-15 12:12:35 +02:00
parent 966ba81f7f
commit e3ef25aa0c

View File

@ -73,17 +73,6 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => {
value={null} value={null}
disabled={true} disabled={true}
/> />
<NumericDataEntry
title={"Crowdsourced planning application submission edit date"}
slug="date_year"
value={2019}
mode={props.mode}
copy={props.copy}
onChange={props.onChange}
min={1}
max={currentYear}
// "type": "year_estimator"
/>
<CheckboxDataEntry <CheckboxDataEntry
title="Has the work on this site been completed?" title="Has the work on this site been completed?"
slug="planning_live_application" slug="planning_live_application"
@ -91,7 +80,7 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => {
disabled={false} disabled={false}
/> />
<NumericDataEntry <NumericDataEntry
title={"Estimated date of completion"} title={"Year of completion"}
slug="date_year" slug="date_year"
value={2019} value={2019}
mode={props.mode} mode={props.mode}