X-Git-Url: https://git.arvados.org/arvados-workbench2.git/blobdiff_plain/31e84a9315728c2f58a26bf0e9e1d2b38326fb86..394ebdfd13fe40a7096f484c46a353d2537f4c9a:/src/views-components/form-fields/project-form-fields.tsx diff --git a/src/views-components/form-fields/project-form-fields.tsx b/src/views-components/form-fields/project-form-fields.tsx index 3f576ab1..6ef723d3 100644 --- a/src/views-components/form-fields/project-form-fields.tsx +++ b/src/views-components/form-fields/project-form-fields.tsx @@ -2,12 +2,13 @@ // // SPDX-License-Identifier: AGPL-3.0 -import * as React from "react"; -import { Field, Validator } from "redux-form"; -import { TextField, RichEditorTextField } from "~/components/text-field/text-field"; -import { PROJECT_NAME_VALIDATION, PROJECT_NAME_VALIDATION_ALLOW_SLASH } from "~/validators/validators"; +import React from "react"; +import { Field, FieldArray, Validator, WrappedFieldArrayProps } from "redux-form"; +import { TextField, RichEditorTextField } from "components/text-field/text-field"; +import { PROJECT_NAME_VALIDATION, PROJECT_NAME_VALIDATION_ALLOW_SLASH } from "validators/validators"; import { connect } from "react-redux"; -import { RootState } from "~/store/store"; +import { RootState } from "store/store"; +import { Participant, ParticipantSelect } from "views-components/sharing-dialog/participant-select"; interface ProjectNameFieldProps { validate: Validator[]; @@ -31,7 +32,7 @@ export const ProjectNameField = connect( })((props: ProjectNameFieldProps) => @@ -40,5 +41,18 @@ export const ProjectNameField = connect( export const ProjectDescriptionField = () => ; + +export const UsersField = () => + ; + +export const UsersSelect = ({ fields }: WrappedFieldArrayProps) => + ;