I'm receiving by ajax the following data when i call the textData global variable
(2) [{…}, {…}]
0: {value: "330", text: "TIC_MB1"}
1: {value: "331", text: "TIC_OP3"}
length: 2
proto: Array(0)
And in my editable is defined like this
field: 'moduloUfcd', title: 'Módulo', editable: { type: 'select', source: textData }
I get this error
Uncaught TypeError: e.toLowerCase is not a function
Hello
I'm having troubles to get my list into a select
I'm receiving by ajax the following data when i call the textData global variable (2) [{…}, {…}] 0: {value: "330", text: "TIC_MB1"} 1: {value: "331", text: "TIC_OP3"} length: 2 proto: Array(0)
And in my editable is defined like this
field: 'moduloUfcd', title: 'Módulo', editable: { type: 'select', source: textData }
I get this error Uncaught TypeError: e.toLowerCase is not a function![image](https://user-images.githubusercontent.com/5500660/100907652-7cfa2480-34c2-11eb-8611-dcc9975c987f.png)
any help?