Skip to main content

We have users reporting a problem with certain picklists displayed in Lightning Components when view on an iPad using the Safari on iPad beta interface.

 

Picklists defined using the ui:inputSelect component display as expected.

 

Picklists defined using the lightning:Select component display but are empty when opened.

 

Example of working code:

<ui:inputSelect aura:id="verticalsInput"

                                label="Vertical"

                                multiple="true"

                                change="{!c.loadNaicsOptions}"

                                value="{!v.vertical}">

                    <aura:iteration items="{!v.verticalOptions}" var="option">

                        <ui:inputSelectOption text="{!option.value}" label="{!option.label}"/>

                    </aura:iteration>

                </ui:inputSelect>

 

Example of code that doesn't work:

<lightning:select label="Sale Code" value="{!v.product.saleCodeId}" >

                    <aura:iteration items="{!v.product.editProperties.saleCodeOptions}" var="sc">

                        <option label="{!sc.label}" value="{!sc.key}" />

                    </aura:iteration>

 

                </lightning:select>

 

Note that both of these methods work just fine when viewing the interface on a desktop.