X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/6fdd4a4d609cf8fa459786f42eb337f8da6a5afa..3dd4b3bc31fea7f614290131d0ade5c0e0ffc595:/src/views-components/resource-properties-form/property-field-common.tsx diff --git a/src/views-components/resource-properties-form/property-field-common.tsx b/src/views-components/resource-properties-form/property-field-common.tsx index e802ad5c..c4dc494b 100644 --- a/src/views-components/resource-properties-form/property-field-common.tsx +++ b/src/views-components/resource-properties-form/property-field-common.tsx @@ -4,9 +4,9 @@ import { connect } from 'react-redux'; import { change, WrappedFieldMetaProps, WrappedFieldInputProps, WrappedFieldProps } from 'redux-form'; -import { Vocabulary, PropFieldSuggestion } from '~/models/vocabulary'; -import { RootState } from '~/store/store'; -import { getVocabulary } from '~/store/vocabulary/vocabulary-selectors'; +import { Vocabulary, PropFieldSuggestion } from 'models/vocabulary'; +import { RootState } from 'store/store'; +import { getVocabulary } from 'store/vocabulary/vocabulary-selectors'; export interface VocabularyProp { vocabulary: Vocabulary; @@ -36,7 +36,6 @@ export const getErrorMsg = (meta: WrappedFieldMetaProps) => export const buildProps = ({ input, meta }: WrappedFieldProps) => { return { value: input.value, - onChange: input.onChange, items: ITEMS_PLACEHOLDER, renderSuggestion: (item: PropFieldSuggestion) => item.label, error: hasError(meta),