EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

Select menu

thk you very much.
must be lazy last night not to find that out by myself :-)
hv a good day

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

Select menu

one new thing ...

on page load, I cannot hide the select menu (like I can do with any other components). I checked the name, ... but it simply appears.

could you tell me how to hide ?

or give me the generic name of that select component which I could create with JS in the DOM later when needed ?

thk you,
Eric

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

Select menu

Hello,

Yes, you are right, select component display could not be managed as other components.

Here is a code to manage visibility:

pre

//Note you need to replace "mobileselectmenu_38" with your select component name.
//This line of code will hide select.
Apperyio("mobileselectmenu_38").closest('[data-role="fieldcontain"]').hide();

//This line of code will show select.
Apperyio("mobileselectmenu_38").closest('[data-role="fieldcontain"]').show();

/pre

Regards.

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

Select menu

Hi Yurii, thks for your quick response.
Best,
Eric

EJLD
Posts: 0
Joined: Sun Jun 08, 2014 11:03 pm

Select menu

It works as expected. thk you.

Return to “Issues”