add lead_designer_type
This commit is contained in:
parent
24f153db4e
commit
226910d3d6
@ -92,6 +92,15 @@ const TeamView: React.FunctionComponent<CategoryViewProps> = (props) => {
|
|||||||
placeholder="https://..."
|
placeholder="https://..."
|
||||||
editableEntries={true}
|
editableEntries={true}
|
||||||
/>
|
/>
|
||||||
|
<SelectDataEntry
|
||||||
|
slug='lead_designer_type'
|
||||||
|
title={dataFields.lead_designer_type.title}
|
||||||
|
value={props.building.lead_designer_type}
|
||||||
|
options={dataFields.lead_designer_type.items}
|
||||||
|
onChange={props.onChange}
|
||||||
|
mode={props.mode}
|
||||||
|
copy={props.copy}
|
||||||
|
/>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
@ -169,6 +178,15 @@ const TeamView: React.FunctionComponent<CategoryViewProps> = (props) => {
|
|||||||
placeholder="https://..."
|
placeholder="https://..."
|
||||||
editableEntries={true}
|
editableEntries={true}
|
||||||
/>
|
/>
|
||||||
|
<SelectDataEntry
|
||||||
|
slug='lead_designer_type'
|
||||||
|
title={dataFields.lead_designer_type.title}
|
||||||
|
value={props.building.lead_designer_type}
|
||||||
|
options={dataFields.lead_designer_type.items}
|
||||||
|
onChange={props.onChange}
|
||||||
|
mode={props.mode}
|
||||||
|
copy={props.copy}
|
||||||
|
/>
|
||||||
</Fragment>
|
</Fragment>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
@ -679,6 +679,19 @@ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */
|
|||||||
title: "Source links for designer(s)",
|
title: "Source links for designer(s)",
|
||||||
tooltip: "URL for source for designer(s)",
|
tooltip: "URL for source for designer(s)",
|
||||||
example: ["", "", ""],
|
example: ["", "", ""],
|
||||||
|
},
|
||||||
|
lead_designer_type: {
|
||||||
|
category: Category.Team,
|
||||||
|
title: "Which best describes the lead designer?",
|
||||||
|
example: "",
|
||||||
|
items: [
|
||||||
|
"Landowner",
|
||||||
|
"Speculative builder",
|
||||||
|
"Government architecture department",
|
||||||
|
"Architectural firm",
|
||||||
|
"Engineering firm",
|
||||||
|
"Other"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user