Issue#1001

Simple patch for it.
examples:
```
type: select
values: ['green', 'red', blue']
```
this is generating
```
<select ...
<option value="green">green</option>
...
```
But the
```
type: select
values: [[0,'green'], [1,'red'], [2,blue]']
```
generate the 
```
<select ...
<option value="0">green</option>
...
```