Hot answers tagged

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 ...
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,'...

Only top scored, non community-wiki answers of a minimum length are eligible