CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Uncaught typeError: on selection

by Joelzim » 24 Sep 2017 06:03

iw14.1.6 / cg 4.0.1.72

I have another issue when I add a tiwcgdropdown box to a frame that is created on a page.

When I try to load the page I get the following error.

The error is

> Line 328 -> Uncaught TypeError: Cannot read property 'selection' of undefined ( http://127.0.0.1:8888/BTMJh9u38e60qLPBLJ0-Ga/$/ )

It is erroring in this function on the selection.on('keypress"

if (CGIsRTL($("#CBTEMPLATEPROCESSFMGETTEMPLATEDLG_JQ"))){ $("#CBTEMPLATEPROCESSFMGETTEMPLATEDLG_JQ").data("select2").container.addClass("select2-container-rtl"); }$("#CBTEMPLATEPROCESSFMGETTEMPLATEDLG_JQ").data("select2").selection.on("keypress", function(e){
tryFocusSearchInput($("#CBTEMPLATEPROCESSFMGETTEMPLATEDLG_JQ"),e);

Any ideas?
Joelzim
 
Posts: 31
Joined: 29 Jul 2017 06:17

by Alexander Bulei » 26 Sep 2017 09:20

Hi Joelzim,

Can you submit the simple testcase? TIA

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by Joelzim » 07 Oct 2017 16:39

Thanks. We rewrote the form and everything seems to be working now.
Joelzim
 
Posts: 31
Joined: 29 Jul 2017 06:17


Return to JQDropDown

cron

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.