Bruce7551108
Posts: 0
Joined: Sun May 24, 2015 3:56 am

Unable to have click event on a select component.

Hi Illya,
I did that and now I see that I am getting the following error from component-manager.js line: 1429

Uncaught Error: c15r: component not found

Could you please help me how to fix this error?

Thanks,
Bruce.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Unable to have click event on a select component.

Hi Bruce -

Could you please share your app with us and tell us its name and steps to reproduce this error.

Bruce7551108
Posts: 0
Joined: Sun May 24, 2015 3:56 am

Unable to have click event on a select component.

Hi Illya,
The app is shared now. Its name is myApp

Please use the following steps to reproduce.....
Click on Test. Then login with a href="mailto:user1@myapp.com" rel="nofollow"user1@myapp.com/a and testmyapp. Then click on the select component. Instead of mapping the value and label with the query result, you will be redirected to login page again.

Thanks,
Bruce.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Unable to have click event on a select component.

Hi Bruce,

Tried your app, and could not reproduce this problem.

When i click on select - it will invoke some service then it stays on that page.

Regards.

Bruce7551108
Posts: 0
Joined: Sun May 24, 2015 3:56 am

Unable to have click event on a select component.

Hi Yurii,
For me the behavior is very consistent. After logging in, when I click on the select component, I get the login page every single time. Do you think a video of what I see could help..

Would you mind trying one more time with my app and let me know?

Thanks,
Bruce.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Unable to have click event on a select component.

Hi Bruce,

I tried it many times. And can not reproduce this issue.

Yes please make short video about how you reproduce it.

Thanks.

Bruce7551108
Posts: 0
Joined: Sun May 24, 2015 3:56 am

Unable to have click event on a select component.

Hi Yurri,
I have E-mailed you the video. This shows the behavior that I am experiencing.

Please check on this and let me know.

Thanks,
Bruce.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Unable to have click event on a select component.

Hi Bruce,

Please try following code instead:

pre

//$("[name=selectComp]").closest('.ui-select').off("click").on("click", function() {
$("[name=selectComp]").closest('.ui-select').unbind("click").bind("click", function(event) {
selectservicepost.execute({});

Code: Select all

 event.stopPropagation(); 
 event.preventDefault(); 

});

/pre

Regards.

Bruce7551108
Posts: 0
Joined: Sun May 24, 2015 3:56 am

Unable to have click event on a select component.

Hi Yurii,
It almost worked. I know we are pretty close... Now it doesn't forward me to the login page and it is good. Thanks for your time and code.

But, here is the part that doesn't work as expected....
With the service success mapping, I was expecting all the 3 rows of my collection to show up as Label and values in my select component. But I am just getting only one of the 3 rows showing up as Label and value in the select component after I click.

Could you please help me get all the rows in the select component.

Thanks,
Bruce.

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Unable to have click event on a select component.

Hi Bruce,

Please show us how you populate select component.

It should mapping with:
1 Link from $ to select option.
2 Link to populate value.
3 Link to populate view.

Regards.

Return to “Issues”