update placeholder to use example for current use

This commit is contained in:
Ed Chalstrey 2022-05-12 16:37:15 +01:00
parent fc16d10e8e
commit 8e21bf2982
2 changed files with 3 additions and 2 deletions

View File

@ -66,7 +66,7 @@ const UseView: React.FunctionComponent<CategoryViewProps> = (props) => {
copy={props.copy} copy={props.copy}
onChange={props.onChange} onChange={props.onChange}
tooltip={dataFields.current_landuse_source.tooltip} tooltip={dataFields.current_landuse_source.tooltip}
placeholder="" placeholder={dataFields.date_source.example}
options={dataFields.current_landuse_source.items} options={dataFields.current_landuse_source.items}
/> />
</Fragment> </Fragment>
@ -119,7 +119,7 @@ const UseView: React.FunctionComponent<CategoryViewProps> = (props) => {
copy={props.copy} copy={props.copy}
onChange={props.onChange} onChange={props.onChange}
tooltip={dataFields.current_landuse_source.tooltip} tooltip={dataFields.current_landuse_source.tooltip}
placeholder="" placeholder={dataFields.date_source.example}
options={dataFields.current_landuse_source.items} options={dataFields.current_landuse_source.items}
/> />
<MultiDataEntry <MultiDataEntry

View File

@ -207,6 +207,7 @@ export const dataFields = { /* eslint-disable @typescript-eslint/camelcase */
"Open address dataset", "Open address dataset",
"Other" "Other"
], ],
example: "",
}, },
current_landuse_source_detail: { current_landuse_source_detail: {
category: Category.LandUse, category: Category.LandUse,