0

As I checked, Salesforce supported lightning:inputField type Lookup for Aura Component.
After I used this item in my Aura Component. As a standard function when I click on lookup field, the drop down should list out all options on PC. And on the Mobile side, the new lookup panel should be shown.
I's worked fine on PC but not worked properly on Mobile.
I've checked log but have nothing was fired.

On Mobile, it seem works only if you click to lookup item the first time.
enter image description here

On the second time, the lookup panel seem couln't load or something like that.
enter image description here

Here is my CMP:

       <lightning:layoutItem size="12" smallDeviceSize="12" mediumDeviceSize="12" largeDeviceSize="12" padding="around-small">
                <div class="custom-box">
                    <lightning:recordEditForm aura:id="ClientForm" objectApiName="Sharpnesses__c" >
                        <legend class="slds-form-element__legend slds-form-element__label" style="float:left;"><abbr title="Title" class="slds-required">*</abbr>Title</legend>
                        <lightning:inputField fieldName="Contact" aura:id="Contact" onchange="{!c.inputContact}" variant="label-hidden" class="inputSize"/><br/>
                        <lightning:pillContainer items="{!v.Contacts}" onitemremove="{!c.handleContactRemove}" class="pillStyle pills" singleLine="false" />
                    </lightning:recordEditForm>
                </div>
            </lightning:layoutItem>

Does anyone have experience on this situation?
Thanks for your help

2
  • Just a blind guess but as far as I remmber lightning:inputField didn't support mobile a while back. Maybe make sure your LWC in in the latest API version (61.0)? Commented Jun 25 at 8:17
  • @BartoszŚliwiński As I checked at Documentation. lightning:inputField did support Mobile. Beside that, I'm using Aura Component in the latest API version(61.0) as well
    – Dung Rieu
    Commented Jun 26 at 2:23

0

You must log in to answer this question.

Browse other questions tagged .