use MultiDataEntry for planning_nhle_link
This commit is contained in:
parent
ebdc5aaa46
commit
66b281df37
@ -2,6 +2,7 @@ import React, { Fragment } from 'react';
|
|||||||
|
|
||||||
import InfoBox from '../../components/info-box';
|
import InfoBox from '../../components/info-box';
|
||||||
import { dataFields } from '../../config/data-fields-config';
|
import { dataFields } from '../../config/data-fields-config';
|
||||||
|
import { MultiDataEntry } from '../data-components/multi-data-entry/multi-data-entry';
|
||||||
import CheckboxDataEntry from '../data-components/checkbox-data-entry';
|
import CheckboxDataEntry from '../data-components/checkbox-data-entry';
|
||||||
import DataEntry from '../data-components/data-entry';
|
import DataEntry from '../data-components/data-entry';
|
||||||
import { DataEntryGroup } from '../data-components/data-entry-group';
|
import { DataEntryGroup } from '../data-components/data-entry-group';
|
||||||
@ -139,14 +140,17 @@ const PlanningView: React.FunctionComponent<CategoryViewProps> = (props) => (
|
|||||||
user_verified_as={props.user_verified.planning_in_list}
|
user_verified_as={props.user_verified.planning_in_list}
|
||||||
verified_count={props.building.verified.planning_in_list}
|
verified_count={props.building.verified.planning_in_list}
|
||||||
/>
|
/>
|
||||||
<DataEntry
|
<MultiDataEntry
|
||||||
title={dataFields.planning_nhle_link.title}
|
title={dataFields.planning_nhle_link.title}
|
||||||
slug="planning_nhle_link"
|
slug="planning_nhle_link"
|
||||||
value={props.building.planning_nhle_link}
|
value={props.building.planning_nhle_link}
|
||||||
mode={props.mode}
|
mode={props.mode}
|
||||||
copy={props.copy}
|
copy={props.copy}
|
||||||
onChange={props.onChange}
|
onChange={props.onChange}
|
||||||
disabled={false}
|
tooltip={dataFields.planning_nhle_link.tooltip}
|
||||||
|
placeholder="https://..."
|
||||||
|
editableEntries={true}
|
||||||
|
isUrl={true}
|
||||||
/>
|
/>
|
||||||
<Verification
|
<Verification
|
||||||
slug="planning_nhle_link"
|
slug="planning_nhle_link"
|
||||||
|
Loading…
Reference in New Issue
Block a user