From 2842c6dce355d3c4821258623d66b4401233ed0c Mon Sep 17 00:00:00 2001
From: vitalets <noginsk@rambler.ru>
Date: Sun, 25 Nov 2012 16:02:57 +0400
Subject: [PATCH] when source is simple array - key = text

---
 src/inputs/list.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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