New answers tagged lightning-aura-components
0
votes
LightningAlert.open from New and Changed Aura Components
@Lucas is it possible to provide the complete code where you are facing this error ?
1
vote
Accessing Child Components in lightning-input DOM element
You can't nest input fields, neither in LWC or even normal HTML. The reason why this doesn't work is because lightning-input doesn't have a default slot. Even getting the input element wouldn't set ...
0
votes
aura lightning component: Field Integrity Exception null: source
update your helper, the line where you are setting the action parameters from this:
action.setParams("inID" : component.get("v.recordId"));
to this:
action.setParams({ "inID&...
0
votes
Aura Component: (lightning:input) Fire 'onclick' before the 'onblur' event
JavaScript does not fire events "in parallel." There is only one execution context (aside from Workers, outside the scope of this answer), so events must be processed one at a time. Browsers ...
0
votes
navigatetourl not redirecting to salesforce url
Use force:navigateToSObject instead, this enables you to navigate to an sObject record specified by recordId.
createRecord : function (component, event, helper) {
var navEvt = $A.get("e.force:...
2
votes
Apex class access issue with profile : summer 22 release
I am not 100% sure, why it is happening to you only now because in Winter '21 there is release enforcement which has been enforced. Restrict Access to @AuraEnabled Apex Methods for Authenticated Users ...
0
votes
Lightning Collapsible and Accordion Dynamic aura id for sections
allowMultipleSectionsOpen="false" or true, set this in accordionsection and it will work
0
votes
FileReader onload not working in lightning component
@sfdcbox, how can I fire objFileReader.onloadfor multiple files. My component allows multiple file upload <lightning:input aura:id="fuploader" name="files" type="file" ...
1
vote
Pushing LightningMessageChannel fails with "Cannot read properties of undefined (reading 'split')"
When I deleted and recreated the scratch organization, I was able to push the lightning message channel to the organization.
I simply used sfdc force:org:delete and sfdc force:org:create for the ...
1
vote
Accepted
Apply css class based on specific condition in Lightning component along with standard Lightning Design System
You can add the the standard SLDS class inside the expression in both conditions. something like this
<div class="{! v.applycss ? 'slds-col slds-size_2-of-12 customColor' : 'slds-col slds-...
0
votes
Apply css class based on specific condition in Lightning component along with standard Lightning Design System
You don't need to compare a Boolean value to true, it's already true. You can try below one:
<div class="{!'slds-col slds-size_2-of-12' + v.applycss ? 'customColor1' : ''}">Test ...
0
votes
LWC not showing when calling inside VF Page Salesforce
LWS and Message Service do works fine in Lightning Experience but not in Classic. Changing to pubsub model works perfectly.
0
votes
How to add lightning toggle button lightining:buttonStateful in lwc component js file
based on this documentation, button type only supports the following type attributes: disabled, iconName, iconPosition, label, name, title, variant.
So to achieve what you want, you need to create ...
1
vote
Accepted
lightning:inputAddress With Country Picklists
Remove square brackets in controller
Replace countryList.push([{'label': resp[key], 'value': key}]); with
countryList.push({'label': resp[key], 'value': key});
Change Mapping
countryCodeMap.put(ccm....
2
votes
File Card Preview not working on Aura App
This is working according to the documentation lightning:fileCard. Take a look at "Targets"
Lightning Experience, Experience Builder Sites, Salesforce Mobile App
It should be mentioned as ...
0
votes
The campingList JavaScript controller isn't calling 'saveItem'
también me encontré con este problema y leí qué desafío nos pide que hagamos línea por línea.
El desafío de Trailhead no nos pide que llamemos al método HELPER desde campingListController.js. ...
0
votes
LWC not showing when calling inside VF Page Salesforce
While there might be more errors than this within the priceConfiguration component, the lightning:navigation component is not supported in VisualForce pages.
Here:
Descriptor Lightning:navigation | ...
0
votes
How to reset page on cancel button using RecordEditForm in salesforce aura components
RecordEditForm will query your record when loads.
I don't think you can reset the form as it means you are deleting the record field data.
Top 50 recent answers are included
Related Tags
lightning-aura-components × 9282lightning × 2983
apex × 968
javascript × 896
lightning-experience × 882
aura × 735
lightning-apps × 667
lightning-design-system × 512
lightning-web-components × 477
visualforce × 442
community × 418
locker-service × 300
css × 212
javascript-controller × 205
salesforce1-app × 198
lightning-events × 192
slds × 185
lightning-community × 176
aura-attribute × 162
lightning-datatable × 140
aura-iteration × 117
controller × 111
visual-workflow × 102
community-builder × 89
quickaction × 87