New answers tagged

0

Sorry for the late reply. The issue is surrounding the type attribute on the button. This behavior of the "Fill out this field" bubble is dependent on the button type. When you have a button with the attribute for type set to submit you get some custom javascript validation on behalf of Salesforce. For my business requirements, the customer just ...


0

Are you testing this as System Admin? A possible reason the user has not read permission of Beer__c object, in Apex you are execution as system context (you have omitted with/out sharing, so by default its without sharing). To test if the problem is about permissions try this: @AuraEnabled public static Object searchBeer(String searchParam){ String ...


0

This is because you have declared, beerList in Aura as Object. If you are passing List from backend then declare that as List So changing <aura:attribute name="beerList" type="Object"/> to <aura:attribute name="beerList" type="List"/> Also change your return type to List<Beer__c> in Apex code. ...


0

Your server is returning a list, and your client seems to be expecting an Object.


Top 50 recent answers are included