Skip to content

Commit

Permalink
fixing drop down for extension enum attribudes
Browse files Browse the repository at this point in the history
  • Loading branch information
katkav committed Jan 12, 2016
1 parent f82b07f commit 2afdb5a
Showing 1 changed file with 1 addition and 4 deletions.
Expand Up @@ -337,10 +337,7 @@ public Object getDisplayValue(Object object) {

@Override
public String getIdValue(Object object, int index) {
if (object instanceof DisplayableValue) {
return ((DisplayableValue) object).getValue().toString();
}
return object.toString();
return String.valueOf(index);
// for (DisplayableValue v : enumModelValues.getObject()){
// if (object.equals(v.getValue())){
// return v.getLabel();
Expand Down

0 comments on commit 2afdb5a

Please sign in to comment.