made responsible field mandatory
Signed-off-by: Lykke Axlin <lykkeaxlin@hotmail.com> Co-authored-by: klaraab <klarabroman@live.se>
This commit is contained in:
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user