Skip to content

Commit

Permalink
Merge pull request #2590 from DuckflipXYZ/2557
Browse files Browse the repository at this point in the history
2557 : subject now shown as mandatory for subject creation
pierrehenri-dauvergne authored Jan 28, 2025
2 parents 49c111d + f77e82d commit 0f9d4b7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -146,7 +146,7 @@ export class ExaminationComponent extends EntityComponent<Examination> {
buildForm(): UntypedFormGroup {
return this.formBuilder.group({
'study': [{value: this.examination.study, disabled: this.inImport}, Validators.required],
'subject': [{value: this.examination.subject, disabled: this.inImport}],
'subject': [{value: this.examination.subject, disabled: this.inImport}, Validators.required],
'center': [{value: this.examination.center, disabled: this.inImport}, Validators.required],
'examinationDate': [this.examination.examinationDate, [Validators.required, DatepickerComponent.validator]],
'comment': [this.examination.comment, Validators.pattern(this.pattern)],

0 comments on commit 0f9d4b7

Please sign in to comment.