Open Shafeenes opened 4 years ago
The function “populateItems” is expecting an array of strings. What format is the data coming from DB? If you’re using an array of objects you can either modify “generateOptionElements” to target arr[i].objectProperty or push the strings to an arr that you feed into “populateItems”.
Items
modified