Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Commit

Permalink
EXOGTN-2397: Adding empty field in the drop-down list of gender (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
seifeddineDaoud committed Sep 18, 2018
1 parent b8da60c commit a1a827e
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -118,6 +118,7 @@ private void addInput(UIFormInputSet set, String[] keys) throws Exception {
for (String key : keys) {
if (key.equalsIgnoreCase("user.gender")) {
List<SelectItemOption<String>> ls = new ArrayList<SelectItemOption<String>>();
ls.add(new SelectItemOption<String>("", ""));
ls.add(new SelectItemOption<String>(MALE, MALE));
ls.add(new SelectItemOption<String>(FEMALE, FEMALE));
UIFormSelectBox genderSelectBox = new UIFormSelectBox(key, key, ls);
Expand Down

0 comments on commit a1a827e

Please sign in to comment.