Fix checkbox inputs in planning view
This commit is contained in:
parent
98a826179c
commit
d3b7e3f065
@ -24,7 +24,7 @@ const PlanningView = (props) => (
|
|||||||
value={props.building.planning_in_conservation_area}
|
value={props.building.planning_in_conservation_area}
|
||||||
mode={props.mode}
|
mode={props.mode}
|
||||||
copy={props.copy}
|
copy={props.copy}
|
||||||
onChange={props.onChange}
|
onChange={props.onCheck}
|
||||||
/>
|
/>
|
||||||
<DataEntry
|
<DataEntry
|
||||||
title="Conservation area name"
|
title="Conservation area name"
|
||||||
@ -40,7 +40,7 @@ const PlanningView = (props) => (
|
|||||||
value={props.building.planning_in_list}
|
value={props.building.planning_in_list}
|
||||||
mode={props.mode}
|
mode={props.mode}
|
||||||
copy={props.copy}
|
copy={props.copy}
|
||||||
onChange={props.onChange}
|
onChange={props.onCheck}
|
||||||
/>
|
/>
|
||||||
<DataEntry
|
<DataEntry
|
||||||
title="National Heritage List for England list id"
|
title="National Heritage List for England list id"
|
||||||
@ -101,7 +101,7 @@ const PlanningView = (props) => (
|
|||||||
value={props.building.planning_in_glher}
|
value={props.building.planning_in_glher}
|
||||||
mode={props.mode}
|
mode={props.mode}
|
||||||
copy={props.copy}
|
copy={props.copy}
|
||||||
onChange={props.onChange}
|
onChange={props.onCheck}
|
||||||
/>
|
/>
|
||||||
<DataEntry
|
<DataEntry
|
||||||
title="Greater London Historic Environment Record link"
|
title="Greater London Historic Environment Record link"
|
||||||
@ -117,7 +117,7 @@ const PlanningView = (props) => (
|
|||||||
value={props.building.planning_in_apa}
|
value={props.building.planning_in_apa}
|
||||||
mode={props.mode}
|
mode={props.mode}
|
||||||
copy={props.copy}
|
copy={props.copy}
|
||||||
onChange={props.onChange}
|
onChange={props.onCheck}
|
||||||
/>
|
/>
|
||||||
<DataEntry
|
<DataEntry
|
||||||
title="Architectural Priority Area name"
|
title="Architectural Priority Area name"
|
||||||
@ -141,7 +141,7 @@ const PlanningView = (props) => (
|
|||||||
value={props.building.planning_in_local_list}
|
value={props.building.planning_in_local_list}
|
||||||
mode={props.mode}
|
mode={props.mode}
|
||||||
copy={props.copy}
|
copy={props.copy}
|
||||||
onChange={props.onChange}
|
onChange={props.onCheck}
|
||||||
/>
|
/>
|
||||||
<DataEntry
|
<DataEntry
|
||||||
title="Local list link"
|
title="Local list link"
|
||||||
@ -157,7 +157,7 @@ const PlanningView = (props) => (
|
|||||||
value={props.building.planning_in_historic_area_assessment}
|
value={props.building.planning_in_historic_area_assessment}
|
||||||
mode={props.mode}
|
mode={props.mode}
|
||||||
copy={props.copy}
|
copy={props.copy}
|
||||||
onChange={props.onChange}
|
onChange={props.onCheck}
|
||||||
/>
|
/>
|
||||||
<DataEntry
|
<DataEntry
|
||||||
title="Historic area assessment link"
|
title="Historic area assessment link"
|
||||||
@ -173,7 +173,7 @@ const PlanningView = (props) => (
|
|||||||
value={props.building.planning_demolition_proposed}
|
value={props.building.planning_demolition_proposed}
|
||||||
mode={props.mode}
|
mode={props.mode}
|
||||||
copy={props.copy}
|
copy={props.copy}
|
||||||
onChange={props.onChange}
|
onChange={props.onCheck}
|
||||||
disabled={true}
|
disabled={true}
|
||||||
/>
|
/>
|
||||||
<CheckboxDataEntry
|
<CheckboxDataEntry
|
||||||
@ -182,7 +182,7 @@ const PlanningView = (props) => (
|
|||||||
value={props.building.planning_demolition_complete}
|
value={props.building.planning_demolition_complete}
|
||||||
mode={props.mode}
|
mode={props.mode}
|
||||||
copy={props.copy}
|
copy={props.copy}
|
||||||
onChange={props.onChange}
|
onChange={props.onCheck}
|
||||||
disabled={true}
|
disabled={true}
|
||||||
/>
|
/>
|
||||||
<DataEntry
|
<DataEntry
|
||||||
|
Loading…
Reference in New Issue
Block a user