Page 1 of 1

Change name of mobileselectmenu element

Posted: Fri Jan 17, 2014 4:45 pm
by Fred McIntyre

I have added a Select component, and in the Service mapping I can see that the name of the Value/Label element is mobileselectmenu_11-0. I would like to change the name to something else, but cannot select that part in the Design. Is there a way to rename it?
Thanks.


Change name of mobileselectmenu element

Posted: Fri Jan 17, 2014 5:30 pm
by Kateryna Grynko

Hi Fred,

This can be done with JavaScript. Why do you need this? There may be a better solution.


Change name of mobileselectmenu element

Posted: Sun Jan 19, 2014 11:26 pm
by Fred McIntyre

I replied by email that this was simply for keeping names organized and consistent. I see that in the new update of the Visual Builder on 1/18/2014, the name has been changed to "nameofselect-0" where "nameofselect" is the name of the select item. Thank you very much for this change.


Change name of mobileselectmenu element

Posted: Wed Sep 17, 2014 3:40 am
by Fred McIntyre

Hi,
Unfortunately, I need to take back my last comment. The behavior I described seems hit and miss. Here is the situation restated:

I'm an organization nut. I like to see things set out in an orderly fashion, and have things named in a logical way. This has absolutely nothing to do with the functionality of the app. It only has to do with what I see when I am doing data mapping, and my sense of tranquility. :-)

I add a Select component and change the name to timezone.
When I go to data mapping I see:
timezone
Selected
Visible
mobileselectmenu_54-0
Value
Label

However, sometimes, rather than mobileselectmenu_54-0 it is timezone-0. I would much rather the name of the item be consistent with the name of the Select component. See the screen shot below where two Select components are in the same app. I cannot figure out why one has the item named after the component and the other doesn't.

Again, the only thing "broken" is my desire to have consistent names.

Thanks, Fred
Image


Change name of mobileselectmenu element

Posted: Wed Sep 17, 2014 3:48 am
by Fred McIntyre

Actually, I just ran across the situation where this is more important than just my peace of mind. When creating events, and the Action selected is "Set property" the list of Component names is alphabetical. That means, from my screen shot above, timezone-0 is obviously the first item for timezone. However it is not at all obvious what mobileselectmenu_54-0 is connected to. If I have a lot of Select components on a page, and they all get this name, with only "54" changing, I can't remember which one goes with which Select element. See screen shot below.

Image


Change name of mobileselectmenu element

Posted: Wed Sep 17, 2014 8:48 pm
by Evgene Karachevtsev

Hello Fred,

If you save the project and restart the editor, the names change as you need. As far as I know in the new release, September 21, this bug will be fixed.


Change name of mobileselectmenu element

Posted: Wed Sep 17, 2014 10:20 pm
by Fred McIntyre

Thanks.