Combo Box Ids
-
- Profound User
- Posts: 25
- Joined: Mon Jul 03, 2017 1:35 pm
- First Name: Ed
- Last Name: Kidhardt
- Company Name: Conestoga Wood
- City: East Earl
- State / Province: Pennsylvania
- Country: United States
- Contact:
Combo Box Ids
Is there a function that will tell me the id of the combo box that was clicked? Like pui.currentDateField, but for combo boxes?
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Combo Box Ids
do you mean in an onclick event? Or, when are you planning to retrieve this?
What do you plan to use it for?
What do you plan to use it for?
-
- Profound User
- Posts: 25
- Joined: Mon Jul 03, 2017 1:35 pm
- First Name: Ed
- Last Name: Kidhardt
- Company Name: Conestoga Wood
- City: East Earl
- State / Province: Pennsylvania
- Country: United States
- Contact:
Re: Combo Box Ids
Hey Scott -
Here's what I'm trying to do:
On mobile devices, style the option box in a specific way - I'd like it to take up most of the screen (done with the -combo-options class) and add a label to it so the user knows which field the options are attached to.
I need to know the input field that's connected to the option box that's being displayed.
Here's what I'm trying to do:
On mobile devices, style the option box in a specific way - I'd like it to take up most of the screen (done with the -combo-options class) and add a label to it so the user knows which field the options are attached to.
I need to know the input field that's connected to the option box that's being displayed.
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Combo Box Ids
I'm lost. In your first message you said "the id of the combo box that was clicked". Now you're saying you want to style all combo boxes on mobile devices. Are you saying that you only want to style them after they are clicked?
The different events that fire have different information available to them. That's why I asked when you were running this code? Is it in an onclick event? I never got a response to that, so I'm not sure if I can suggest that info, or what else to suggest. Can you please explain WHEN you are running this styling?
The different events that fire have different information available to them. That's why I asked when you were running this code? Is it in an onclick event? I never got a response to that, so I'm not sure if I can suggest that info, or what else to suggest. Can you please explain WHEN you are running this styling?
-
- Profound User
- Posts: 25
- Joined: Mon Jul 03, 2017 1:35 pm
- First Name: Ed
- Last Name: Kidhardt
- Company Name: Conestoga Wood
- City: East Earl
- State / Province: Pennsylvania
- Country: United States
- Contact:
Re: Combo Box Ids
Doesn't matter to me - I can run it onclick or at time of render. Which would you recommend?
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Combo Box Ids
I don't feel like I'm in a good position to recommend something, here, since I'm not familiar with your application.
If you want it to happen when someone clicks the item with a mouse, then do it onclick. If you want it to happen when the screen loads, do it onload (just after render).
If you want it to happen when someone clicks the item with a mouse, then do it onclick. If you want it to happen when the screen loads, do it onload (just after render).
-
- Profound User
- Posts: 25
- Joined: Mon Jul 03, 2017 1:35 pm
- First Name: Ed
- Last Name: Kidhardt
- Company Name: Conestoga Wood
- City: East Earl
- State / Province: Pennsylvania
- Country: United States
- Contact:
Re: Combo Box Ids
Okay - if I'm going to add the label onclick, how do I associate the popup with the clicked combo box?
get(id).comboBoxWidget.getBox() returns the input box element, is there something like this that gets me the popup element?
get(id).comboBoxWidget.getBox() returns the input box element, is there something like this that gets me the popup element?
-
- Profound User
- Posts: 25
- Joined: Mon Jul 03, 2017 1:35 pm
- First Name: Ed
- Last Name: Kidhardt
- Company Name: Conestoga Wood
- City: East Earl
- State / Province: Pennsylvania
- Country: United States
- Contact:
Re: Combo Box Ids
Getting anywhere on adding a function that returns the Combo Box dropdown?
-
- Experienced User
- Posts: 2711
- Joined: Wed Aug 01, 2012 8:58 am
- First Name: Scott
- Last Name: Klement
- Company Name: Profound Logic
- City: Milwaukee
- State / Province: Wisconsin
Re: Combo Box Ids
If you've placed a feature request via our Support team, and want to know the status, you should e-mail them.
This is "community support", i.e. its where you can talk to other people who use the products. It is not for bug reports or feature requests, for that you need to contact the actual paid support st support@profoundlogic.com
This is "community support", i.e. its where you can talk to other people who use the products. It is not for bug reports or feature requests, for that you need to contact the actual paid support st support@profoundlogic.com
Who is online
Users browsing this forum: No registered users and 1 guest