Repeat doesn't pass value on Wappler 6.4.2

Platform: MacOS M1
Wappler: 6.4.2
Type Website: Node.JS + docker
Database: Cloud DB on digitalocean
After updated Wappler, I made a new website using docker and Node.JS

How to replicate:

  1. New API
  2. created a new query
  3. added repeat (selecting the query and selecting the values to pass)
  4. added under the repeat a query where one value = to the one passed by repeat
  5. for check I added a set value, which have the value passed by repeat but remain empty.

Any suggestion?

I removed the hasOwnProperty dependency in the repeater and replaced it with Object.hasOwn which will correctly work with Objects created with Object.create(null).

core.zip (2.1 KB) extract to lib/modules

1 Like

Thank you @Patrick I searched but didn’t notice that. Will try immediately

I m really sorry @patrick but still the same problem…
I extracted it on lib/modules of the website deleting the old core.js
Screenshot 2024-04-16 alle 18.33.45

@patrick, I really hate to be a pain (yes… exactly there) but I suppose the problem is also in the Autocomplete component…

I don’t know if still related with hasOwnProperty. :grimacing:

Unlikely, autocomplete is a front-end component. This thread is seemingly linked to a server-side DB library

Have you copied code onto your page rather than using the UI to add it? This usually comes up when the layout page hasn’t got the autocomplete script added.

Probably worth opening a separate post for it, though

The page was linked to server connect problem. I opened it because repeat do not works for me.
It is not a API problem but it is related with hasOwnProperties.

Also the autocomplete has same problem
Because it is not a server connect problem but something related with hasOwnProperties which is more related to communication with MySQL I suppose (both server connect or frontend)

The error means that the js include for the component is missing for your page head tags or it is missing from the server.

Autocomponents problem solved thank you !

So what I suggested :wink:

1 Like

Sorry I was replying you but maybe didn’t sent it. I used the UI so don’t know why… anyway thank you!!

Fixed in Wappler 6.5.0

1 Like