Page 1 of 1

Lookup field not populating.

Posted: 2021-12-16 21:39
by pvisser
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

Re: Lookup field not populating.

Posted: 2021-12-17 20:14
by pvisser
Allready Fixed

Re: Lookup field not populating.

Posted: 2021-12-17 21:55
by jsetzer
So, what caused the select2-error?

Re: Lookup field not populating.

Posted: 2021-12-23 13:57
by pvisser
Hello there. Jan
Because. I Create the webapps that should be Registered by the end user with a created online registration programm, See screenshot. I forgot the most important file.

Oke i will let you see also my registration system i use to licence all my build apps..
notregister.png
To let them register with License
notregister.png (102.09 KiB) Viewed 2767 times
notregisterActivateLicence.png
If Webapp not is register by Serial. The see this.
notregisterActivateLicence.png (77.56 KiB) Viewed 2767 times
licensesystem.png
My activation System (Not for users)
licensesystem.png (39.99 KiB) Viewed 2767 times
detregisterActivateLicence.png
Register from the Admin
detregisterActivateLicence.png (65.77 KiB) Viewed 2767 times
I forgot to let the Windows Appgini application during exporting update the Webapp file incCommon.php. After adding a new table it should, if you dont, Its not working well.

Hooo i whas su dumb... hahah