Lookup field not populating.
Posted: 2021-12-16 21:39
Hello my friends. I have a problem.
I installed, "AppGiniHelper JavaScript Library" and works wel. But i have two tables. One table called "relaties" with fields named : Name Adres, Etc.
The other table is called "tasklist" and has fields named. Taskname, Date start, Status, Description.
From te table "Tasklist" i made the taskname field a lookup field to the "relaties" -Name field. So normaly it should work. When add new Task, its not populating the Taskname lookup field with a list of names, also the search box keeps spinnen . Now i check in the Console and i see this problem.
[ERROR]
Uncaught TypeError: Cannot read properties of null (reading 'toUpperCase')
at E (select2.min.js:21)
at Object.formatResult (select2.min.js:22)
at g (select2.min.js:21)
at d.populateResults (select2.min.js:21)
at d.<anonymous> (select2.min.js:22)
at Object.callback (select2.min.js:21)
at success (select2.min.js:21)
at Object.options.beforeSend (common.js:309)
at S.fn.init.ajax (jquery-3.5.1.min.js:2)
at select2.min.js:21
[/ERROR]
Please advice?
Greetings Patrick
I installed, "AppGiniHelper JavaScript Library" and works wel. But i have two tables. One table called "relaties" with fields named : Name Adres, Etc.
The other table is called "tasklist" and has fields named. Taskname, Date start, Status, Description.
From te table "Tasklist" i made the taskname field a lookup field to the "relaties" -Name field. So normaly it should work. When add new Task, its not populating the Taskname lookup field with a list of names, also the search box keeps spinnen . Now i check in the Console and i see this problem.
[ERROR]
Uncaught TypeError: Cannot read properties of null (reading 'toUpperCase')
at E (select2.min.js:21)
at Object.formatResult (select2.min.js:22)
at g (select2.min.js:21)
at d.populateResults (select2.min.js:21)
at d.<anonymous> (select2.min.js:22)
at Object.callback (select2.min.js:21)
at success (select2.min.js:21)
at Object.options.beforeSend (common.js:309)
at S.fn.init.ajax (jquery-3.5.1.min.js:2)
at select2.min.js:21
[/ERROR]
Please advice?
Greetings Patrick