Skip to content
Snippets Groups Projects
Commit 728fcf0f authored by juanf's avatar juanf
Browse files

SP-629 BIS-398: Dropdowns from Vocabularies and Materials update the initial value field correctly.

SVN: 29217
parent 06bc383a
No related branches found
No related tags found
No related merge requests found
......@@ -1217,7 +1217,7 @@ public class AddPropertyTypeDialog extends AbstractRegistrationDialog
updatePropertyTypeRelatedFields();
}
};
vocabularySelectionWidget.addListener(Events.Change, vocabularyListener);
vocabularySelectionWidget.addListener(Events.SelectionChange, vocabularyListener);
FieldUtil.markAsMandatory(vocabularySelectionWidget);
}
return vocabularySelectionWidget;
......@@ -1239,7 +1239,7 @@ public class AddPropertyTypeDialog extends AbstractRegistrationDialog
updatePropertyTypeRelatedFields();
}
};
materialTypeSelectionWidget.addListener(Events.Change, materialListener);
materialTypeSelectionWidget.addListener(Events.SelectionChange, materialListener);
FieldUtil.markAsMandatory(materialTypeSelectionWidget);
}
return materialTypeSelectionWidget;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment