ukrbublik/react-awesome-query-builder

vals.map is not a function

Opened this issue · 0 comments

autocomplete.js:94 Uncaught (in promise) TypeError: vals.map is not a function
    at optionsToListValues2 (autocomplete.js:94:36)
    at _callee5$ (useListValuesAutocomplete.js:409:36)
    at tryCatch (regeneratorRuntime.js:44:17)
    at Generator.<anonymous> (regeneratorRuntime.js:125:22)
    at Generator.next (regeneratorRuntime.js:69:21)
    at asyncGeneratorStep (asyncToGenerator.js:3:23)
    at _next (asyncToGenerator.js:22:9)
    at asyncToGenerator.js:27:7
    at new Promise (<anonymous>)
    at asyncToGenerator.js:19:12

I think there is such an error when selection is made in autoComplate when id is 0. vals returns undefined. I made some updates such as .tolowerLocaleCase in autoComplate in order to be compatible with Turkish characters. I did not fully understand whether the problem is a general problem or related to me.

bug