Skip to content

Commit

Permalink
Merge pull request #423 from ec-jrc/419-dropdown-load-problem
Browse files Browse the repository at this point in the history
#419 dropdown information load fixed
  • Loading branch information
iratigarzon authored May 22, 2024
2 parents 01ded83 + ab52144 commit 9aae375
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sources/Re3gistry2/src/main/webapp/jsp/addField.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@
<label class="col-sm-4">${localization.getString("label.fieldtype")}</label>
<div class="col-sm-8">
<div class="input-group">
<select id="fieldtype" class="selectpicker form-control" name="<%=BaseConstants.KEY_FORM_FIELD_NAME_FIELDTYPEUUID%>" required>
<select id="fieldtype" class="select-field form-control" name="<%=BaseConstants.KEY_FORM_FIELD_NAME_FIELDTYPEUUID%>" required>
<option value="" selected="selected"></option>
<%
for (RegFieldtype tmpRegFieldtype : regFieldtypes) {
Expand All @@ -163,7 +163,7 @@
<label class="col-sm-4">${localization.getString("label.itemclassreference")}</label>
<div class="col-sm-8">
<div class="input-group">
<select id="referencepicker" class="selectpicker form-control d-none" name="<%=BaseConstants.KEY_FORM_FIELD_NAME_ITEMCLASSREFERENCEUUID%>" data-live-search="true">
<select id="referencepicker" class="selectpicker form-control d-none" name="<%=BaseConstants.KEY_FORM_FIELD_NAME_ITEMCLASSREFERENCEUUID%>" data-live-search="true">
<option value="" selected="selected"></option>
<%
for (RegItemclass tmpRegItemclass : regItemclasses) {
Expand Down Expand Up @@ -222,6 +222,7 @@
}
$('#editing-form').validator('update');
$('#editing-form').validator('validate');
$('#referencepicker').selectpicker('refresh');
});
</script>
</body>
Expand Down

0 comments on commit 9aae375

Please sign in to comment.