diff --git a/src/inputs/list.js b/src/inputs/list.js index 1eeeeb2..33be516 100644 --- a/src/inputs/list.js +++ b/src/inputs/list.js @@ -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