AuraQ / AutoCompleteForMendix

An autocomplete widget for mendix
Apache License 2.0
8 stars 31 forks source link

Error and warnings on closing page #61

Open pprasquier opened 3 years ago

pprasquier commented 3 years ago

When closing a complex page with multiple autoCompleteForMendix widgets.

The select2('destroy') method was called on an element that is not using Select2.

and then a whole bunch of those:

RGX.Transaction_NewEdit.dataView1: Unable to destroy:RGX.Contact_Details.autoCompleteForMendix1: Error while uninitialize TypeError: Cannot read property 'destroy' of undefined

Any idea what the issue is and how to solve it?

Using Mendix 8.14 and Chrome browser

pratleymatthew commented 3 years ago

Hi @pprasquier

Have you got anymore information on how to replicate this issue?

pprasquier commented 3 years ago

I've ended up removing the widget altogether. It was actually working fine, though. But the error would systematically appear as soon as I left a page that had it.