when source is simple array - key = text
This commit is contained in:
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
|
//data contains incorrect objects
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
result.push({value: i, text: data[i]});
|
result.push({value: data[i], text: data[i]});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else { //object
|
} else { //object
|
||||||
|
Loading…
x
Reference in New Issue
Block a user