when source is simple array - key = text

This commit is contained in:
vitalets 2012-11-25 16:02:57 +04:00
parent 18cbb07090
commit 2842c6dce3

@ -195,7 +195,7 @@ List - abstract class for inputs that have source option loaded from js array or
//data contains incorrect objects
}
} else {
result.push({value: i, text: data[i]});
result.push({value: data[i], text: data[i]});
}
}
} else { //object