Deon
Posts: 0
Joined: Sun Jun 30, 2013 6:00 am

Place Holder for Select UI component

Hi
When i pull data from a db, the select component's height is decreased and no data is displayed. only when I click it to display the items of the db it shows the items.

How do I get a placeholder on the select item as well and not show it with decreased height. As you can see from the two Select elements below how "thin they are with no placeholder.
Image

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

Place Holder for Select UI component

Hello Deon,

Please set a default value after each mapping there. E.g. set the first option selected.

preApperyio("mobileselectmenu_15").val($("[name=mobileselectmenu_15] option:first-child()").val()).trigger("change");/pre
here mobileselectmenu_15 - name of your select component

Return to “Issues”