From ce473cb453172834efa379cd3253fd93ea24369e Mon Sep 17 00:00:00 2001 From: Maciej Ziarkowski Date: Tue, 15 Oct 2019 13:20:09 +0100 Subject: [PATCH] Fix checkbox inputs --- .../building/data-containers/planning.tsx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/app/src/frontend/building/data-containers/planning.tsx b/app/src/frontend/building/data-containers/planning.tsx index 3a093138..1457010d 100644 --- a/app/src/frontend/building/data-containers/planning.tsx +++ b/app/src/frontend/building/data-containers/planning.tsx @@ -26,7 +26,7 @@ const PlanningView = (props) => ( value={props.building.planning_in_conservation_area} mode={props.mode} copy={props.copy} - onChange={props.onChange} + onChange={props.onCheck} /> ( value={props.building.planning_in_list} mode={props.mode} copy={props.copy} - onChange={props.onChange} + onChange={props.onCheck} /> ( value={props.building.planning_in_glher} mode={props.mode} copy={props.copy} - onChange={props.onChange} + onChange={props.onCheck} /> ( value={props.building.planning_in_apa} mode={props.mode} copy={props.copy} - onChange={props.onChange} + onChange={props.onCheck} /> ( value={props.building.planning_in_local_list} mode={props.mode} copy={props.copy} - onChange={props.onChange} + onChange={props.onCheck} /> ( value={props.building.planning_in_historic_area_assessment} mode={props.mode} copy={props.copy} - onChange={props.onChange} + onChange={props.onCheck} /> ( value={props.building.planning_demolition_proposed} mode={props.mode} copy={props.copy} - onChange={props.onChange} + onChange={props.onCheck} disabled={true} /> ( value={props.building.planning_demolition_complete} mode={props.mode} copy={props.copy} - onChange={props.onChange} + onChange={props.onCheck} disabled={true} />