VIVO-421 fixes bug with class drop downs
This commit is contained in:
parent
f75b1159e5
commit
60a86d94b2
1 changed files with 3 additions and 0 deletions
|
@ -241,6 +241,9 @@ public class FormUtils {
|
||||||
option.setValue(vclass.getURI());
|
option.setValue(vclass.getURI());
|
||||||
option.setBody(vclass.getPickListName());
|
option.setBody(vclass.getPickListName());
|
||||||
vclassOptionList.add(option);
|
vclassOptionList.add(option);
|
||||||
|
if(selectedVClassURI != null && selectedVClassURI.equals(vclass.getURI())) {
|
||||||
|
option.setSelected(true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return vclassOptionList;
|
return vclassOptionList;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue