We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c67461c commit 90c15f7Copy full SHA for 90c15f7
1 file changed
sormas-ui/src/main/java/de/symeda/sormas/ui/vaccination/VaccinationEditForm.java
@@ -104,7 +104,7 @@ protected void addFields() {
104
vaccineName.addValueChangeListener(e -> {
105
Vaccine vaccine = (Vaccine) e.getProperty().getValue();
106
if (vaccine != null) {
107
- vaccineManufacturer.setValue(vaccine.getManufacturer().get());
+ vaccineManufacturer.setValue(vaccine.getManufacturer().isEmpty() ? null : vaccine.getManufacturer().get());
108
109
// VaccineType
110
if (vaccine.getVaccineType().isPresent()) {
0 commit comments