Page 1 of 2

Select Dropdown Problem

Posted: Thu Feb 05, 2015 6:49 am
by She

Hi Team,
Select Dropdown always return the first value, everytime i selects new value how can i fix this? the mapping screenshot is in below:

Image


Select Dropdown Problem

Posted: Thu Feb 05, 2015 10:36 am
by Evgene Karachevtsev

Hello She,

Please try to remove the link from MyID to Selected


Select Dropdown Problem

Posted: Fri Feb 06, 2015 1:34 am
by She

Hi evgene,

Thnak you for responding, i already fixed this problem. i have a new problem.

when i run the page show event the url always return in URL ENCODED Character.

Image

how to fix this?


Select Dropdown Problem

Posted: Fri Feb 06, 2015 1:39 am
by She

Select Dropdown Problem

Posted: Fri Feb 06, 2015 2:15 am
by She

Hi Evgene,

I already fixed this. issue the problem now is in select dropdown again. its empty when the page is show but its already have a values when the pageshow.


Select Dropdown Problem

Posted: Fri Feb 06, 2015 2:15 am
by She

Select Dropdown Problem

Posted: Sat Feb 07, 2015 3:08 am
by She

Hi Evgene,

Any progress for this?

This is my actualy mapping in onSuccessEvent : Image

and this is in ONLOAD event. i just want to display the first ITEM in the DropMenu. but its not showing

Thanks,


Select Dropdown Problem

Posted: Sat Feb 07, 2015 5:37 am
by Alena Prykhodko

Hi,

Not yet, will update as soon as news.


Select Dropdown Problem

Posted: Sat Feb 07, 2015 8:32 am
by M&M

hi She,

If you want to select the first item, after your select component is populated using the REST api, use this code in your success event

To select first item
code
// Change the select component name to suit yours
var myElement = $('select[name="mobileselectmenu_16"]');
myElement.val(myElement.find('option').first().val());
myElement.selectmenu('refresh');
/code


Select Dropdown Problem

Posted: Sun Feb 08, 2015 3:31 pm
by Ellen Schlechter

Hi I have a problem similar to the original problem that She had. I want the value that is actually saved in the database to appear first in the select menu. How do I do this?