[Vtigercrm-developers] [CustomView]Select2 throwing undefined query function not lettings save in edit view after creation

Sukhdev Mohan s.mohan at myti.it
Sun Oct 10 08:44:08 GMT 2021


Upon further investigation, it seems a problem with UI type 33. Can I test
on demo vTiger?

Il sab 9 ott 2021, 09:11 Sukhdev Mohan <s.mohan at myti.it> ha scritto:

> Hi All,
>
> I'm facing the following issue:
> We create a custom view, when we want to edit conditions we are asked if
> we want to go outside the site and if answered yes it gives a JSON with
> success false. All the edit are lost.
>
> Looking through console it shows an error on Select2 element which says
> "Uncaught query function not defined for Select2 undefined". The issue
> arises on layouts/v7/modules/VTiger/resources/utils.js line 63
>
> It seems that the system is trying to reinitialise select2 but fails. I
> tried to check if select2 for the instance isn't undefined then to load
> select2={}  but it doesn't work.
>
> Anyone faced the same issue? How to fix it?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20211010/13fa8c32/attachment.html>


More information about the vtigercrm-developers mailing list