Bug Report #1686018534518 | Autocomplete | Uncaught TypeError: Cannot read properties of undefined (reading 'call')

OS info

  • Operating System : Windows 10.0.22621
  • Wappler Version : 5.8.0
  • Channel : Stable
  • Language : PHP
  • Type of page : SPA / routing

Problem description

AutoComplete causes errors and some dmx function dysfunctional.

Steps to reproduce

1.Add Autocomplete to the page as usual.
2.The page will produce error:

dmxAutocomplete.js:7 Uncaught TypeError: Cannot read properties of undefined (reading 'call')
    at n.updateData (dmxAutocomplete.js:7:2544)
    at n.update (dmxAutocomplete.js:7:2344)
    at n.$update (dmxAppConnect.js:9:19790)
    at dmxAppConnect.js:9:19862
    at Array.forEach (<anonymous>)
    at n.$update (dmxAppConnect.js:9:19847)
    at dmxAppConnect.js:7:16837
    at dmxAppConnect.js:7:16499

3.Despite the errors, the AutoComplete function dooes work, it just shows the errors and causes some other function to stop working. In my case, this function dmx-class:bg-info="(data_detail1.data.app_id == var1.value)".

Example demo: http://d3mo.esy.es/list

I’m not sure if I missed anything or it’s indeed a bug.

We are aware about this issue and it will be fixed in the next App Connect 2.0 beta extensions updates.
You can switch to the stable extensions channel if you need to use the Autocomplete on your live website.

1 Like

Good to know. Thanks.