2
votes
Accepted
How to dynamically select and disable an element in a row in the table when the other element is selected
in your iteration object timeEntry add one new property isdisabled.
keep it false while initialization.
on js controller handleCheckboxChange : if it meets your criteria make this property to ...
- 580
2
votes
Aura if else condition not working properly. Still enters the block even if condition is not met
Calling a server method is always an asynchronous operation. That means that the default value will be shown for at least the amount of time it takes for the server-side code to return a value.
Let's ...
- 462k
2
votes
Accepted
Embed Managed Aura component inside LWC
No. This is an X-Y Problem. You can't access the DOM of any other component, even child components, even if they're in the same namespace, unless you have that component configured as a Light DOM ...
- 462k
1
vote
Accepted
JavaScript strict mode is causing my promise to be rejected and throw an error
if (reject) {
reject(reject);
} else {
resolve(resolve);
}
You're breaking the rules of how Promises work. While I haven't managed to exactly replicate your error, I can tell you the problem is ...
- 462k
1
vote
Accepted
Passing Javascript map from aura controller to Apex Controller - Not working
What is think is the Obj that you are referring is a map type is JS
you can convert that Map to Object with below code
var obj = {'0QL8W000006RHl1WAG'=>1,'0QL8W000006RHl0WAG'=>2,'...
- 393
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
aura × 1292lightning-aura-components × 780
lightning × 340
apex × 201
lightning-web-components × 168
javascript × 145
aura-attribute × 67
lightning-apps × 52
community × 46
aura-iteration × 43
visualforce × 41
lightning-experience × 34
lightning-design-system × 31
lightning-events × 31
visual-workflow × 30
javascript-controller × 27
aura-if × 26
component × 25
controller × 23
css × 19
locker-service × 19
lightning-datatable × 18
salesforcedx × 16
salesforce1-app × 16
event × 14