made responsible field mandatory

Signed-off-by: Lykke Axlin <lykkeaxlin@hotmail.com>

Co-authored-by: klaraab <klarabroman@live.se>
This commit is contained in:
Lykke Axlin
2021-11-09 15:21:06 +01:00
parent 71ab8de049
commit 8380792557
3 changed files with 50 additions and 4 deletions
+1 -1
View File
@@ -82,12 +82,12 @@ The following fields are mandatory:
- announcement - present your idea and what skills you are looking for
- status - whether or not the project has started
- size - small, medium or large
- responsible - main contact person of the project
The other fields are:
- start date
- end date
- responsible - main contact person of the project
- community link - link where the project members can chat, e.g. Teams or Discord link
When the project is added, you will see the Bazaar information in the Bazaar card on the entity page. There you can join a project, edit or delete it.
@@ -173,18 +173,19 @@ export const ProjectDialog = ({
options={['small', 'medium', 'large']}
/>
<DoubleDateSelector setValue={setValue} control={control} />
<InputField
error={errors.responsible}
control={control}
rules={{
required: false,
required: true,
}}
inputType="responsible"
helperText="please enter a contact person"
placeholder="Contact person of the project"
/>
<DoubleDateSelector setValue={setValue} control={control} />
<InputField
error={errors.community}
control={control}