Skip to content

Commit f4fc55e

Browse files
authored
Merge pull request #13824 from SORMAS-Foundation/bug/13462-person-edit-non-mandatory-fields
FIX: 13462: Wrongly bordered fields that are not mandatory
2 parents 28f0694 + 9c90ee9 commit f4fc55e

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

sormas-ui/src/main/java/de/symeda/sormas/ui/person/PersonEditForm.java

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -521,18 +521,6 @@ protected void addFields() {
521521

522522
FieldHelper.setVisibleWhen(getFieldGroup(), PersonDto.EDUCATION_DETAILS, PersonDto.EDUCATION_TYPE, Arrays.asList(EducationType.OTHER), true);
523523

524-
FieldHelper.addSoftRequiredStyle(
525-
presentCondition,
526-
sex,
527-
deathDate,
528-
deathPlaceDesc,
529-
deathPlaceType,
530-
causeOfDeathField,
531-
causeOfDeathDiseaseField,
532-
causeOfDeathDetailsField,
533-
burialDate,
534-
burialPlaceDesc,
535-
burialConductor);
536524
FieldHelper.setVisibleWhen(getFieldGroup(), PersonDto.WORK_PLACE_TEXT, PersonDto.WORK_PLACE, WorkPlace.OTHER, true);
537525

538526
// Set initial visibilities

0 commit comments

Comments
 (0)