Skip to content
This repository was archived by the owner on May 5, 2021. It is now read-only.

Commit 1894279

Browse files
1 parent c735f5b commit 1894279

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sormas-ui/src/main/java/de/symeda/sormas/ui/configuration/infrastructure/FacilityEditForm.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,11 @@ protected void addFields() {
7474
typeGroup.setCaption(I18nProperties.getCaption(Captions.Facility_typeGroup));
7575
typeGroup.addItems(FacilityTypeGroup.values());
7676
typeGroup.setWidth(100, Unit.PERCENTAGE);
77-
typeGroup.setEnabled(false);
77+
typeGroup.setEnabled(create);
7878
getContent().addComponent(typeGroup, TYPE_GROUP_LOC);
7979
ComboBox type = addField(FacilityDto.TYPE);
8080
type.removeAllItems();
81-
type.setEnabled(false);
81+
type.setEnabled(create);
8282
ComboBox region = addInfrastructureField(FacilityDto.REGION);
8383
ComboBox district = addInfrastructureField(FacilityDto.DISTRICT);
8484
ComboBox community = addInfrastructureField(FacilityDto.COMMUNITY);

0 commit comments

Comments
 (0)