Error loading list with select
Author: alphasilCreated Dec 2, 2020Updated Oct 18, 2024
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

any help?
Source: vitalets/x-editable