Brett Gregory
Posts: 0
Joined: Thu Aug 21, 2014 2:33 pm

Collapsible Component Help

How do I get the value, that being the text, of the selected item in the collapsible component?

I have placed the collapsible component on my UI and am using a list service to display a few options for the user to choose. The list service is working fine. However, I need to get the value of what the user chooses and place that into a local variable, any ideas?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Collapsible Component Help

Dear Brett,

Could you please clarify how you output data, via list service?

Is it a collapsibleSet with its own list inside each group and you need to get a name of an open group?

Or do you need to get a selected item from a group list?

Brett Gregory
Posts: 0
Joined: Thu Aug 21, 2014 2:33 pm

Collapsible Component Help

well for example, Appery has a tutorial where it shows you how to create an app with a user registration, and after the use logs in they can add items which are stored in a database.
Tutorial: http://devcenter.appery.io/tutorials/...

Instead of the list component I am using the collapsible component. Now what i need to do is after the user has selected "an item" from the collapsible component, i need to take what is selected and store it into a local variable so that I can use it later.

Thanks!

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Collapsible Component Help

Hi Brett,

Could you please also post a screenshot of mapping?

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Collapsible Component Help

Hi Brett,

As I can see in your screenshot, you have a Select component (mobileselectmenu_34-0), not exactly the Collapsible one.

You would need to add one event listener and set local storage variable with the selected item value like in the following screenshot:
Image

Return to “Issues”