Skip to content

Commit

Permalink
fix for lookup table field
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed Jun 22, 2016
1 parent a744e08 commit 903dc49
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -750,7 +750,8 @@ private List<String> prepareAutoCompleteList(String input, PrismObject<LookupTab
}
} else {
for(LookupTableRowType row: rows){
if(WebComponentUtil.getOrigStringFromPoly(row.getLabel()).startsWith(input)){
if(WebComponentUtil.getOrigStringFromPoly(row.getLabel()) != null &&
WebComponentUtil.getOrigStringFromPoly(row.getLabel()).toLowerCase().contains(input.toLowerCase())){
values.add(WebComponentUtil.getOrigStringFromPoly(row.getLabel()));
}

Expand Down

0 comments on commit 903dc49

Please sign in to comment.