X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/c4106363643160b30bb924b72f5b6ad95e4ba2ae..5d163fb5e5eb04ace4c67112d20fd34f1b0f5e7b:/src/views-components/resource-properties-form/resource-properties-form.tsx diff --git a/src/views-components/resource-properties-form/resource-properties-form.tsx b/src/views-components/resource-properties-form/resource-properties-form.tsx index 6c2e025a..c8d0959a 100644 --- a/src/views-components/resource-properties-form/resource-properties-form.tsx +++ b/src/views-components/resource-properties-form/resource-properties-form.tsx @@ -5,20 +5,22 @@ import * as React from 'react'; import { InjectedFormProps } from 'redux-form'; import { Grid, withStyles, WithStyles } from '@material-ui/core'; -import { PropertyKeyField, PROPERTY_KEY_FIELD_NAME } from './property-key-field'; -import { PropertyValueField, PROPERTY_VALUE_FIELD_NAME } from './property-value-field'; +import { PropertyKeyField, PROPERTY_KEY_FIELD_NAME, PROPERTY_KEY_FIELD_ID } from './property-key-field'; +import { PropertyValueField, PROPERTY_VALUE_FIELD_NAME, PROPERTY_VALUE_FIELD_ID } from './property-value-field'; import { ProgressButton } from '~/components/progress-button/progress-button'; import { GridClassKey } from '@material-ui/core/Grid'; export interface ResourcePropertiesFormData { [PROPERTY_KEY_FIELD_NAME]: string; + [PROPERTY_KEY_FIELD_ID]: string; [PROPERTY_VALUE_FIELD_NAME]: string; + [PROPERTY_VALUE_FIELD_ID]: string; } export type ResourcePropertiesFormProps = InjectedFormProps & WithStyles; export const ResourcePropertiesForm = ({ handleSubmit, submitting, invalid, classes }: ResourcePropertiesFormProps ) => -
+ @@ -28,6 +30,7 @@ export const ResourcePropertiesForm = ({ handleSubmit, submitting, invalid, clas