diff --git a/app/src/frontend/building/data-components/multi-data-entry.tsx b/app/src/frontend/building/data-components/multi-data-entry.tsx index c932bd7a..11e50452 100644 --- a/app/src/frontend/building/data-components/multi-data-entry.tsx +++ b/app/src/frontend/building/data-components/multi-data-entry.tsx @@ -13,7 +13,7 @@ class MultiDataEntry extends Component { // TODO: add proper types value: PropTypes.arrayOf(PropTypes.string), placeholder: PropTypes.string, disabled: PropTypes.bool, - handleChange: PropTypes.func, + onChange: PropTypes.func, copy: PropTypes.bool, toggleCopyAttribute: PropTypes.func, copying: PropTypes.bool diff --git a/app/src/frontend/building/data-components/select-data-entry.tsx b/app/src/frontend/building/data-components/select-data-entry.tsx index 2e70f81b..d09cca17 100644 --- a/app/src/frontend/building/data-components/select-data-entry.tsx +++ b/app/src/frontend/building/data-components/select-data-entry.tsx @@ -17,7 +17,7 @@ const SelectDataEntry: React.FunctionComponent = (props) => { // TODO: remo id={props.slug} name={props.slug} value={props.value || ''} disabled={props.mode === 'view' || props.disabled} - onChange={props.handleChange}> + onChange={props.onChange}> { props.options.map(option => (