Hot answers tagged

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 ...
user avatar
  • 434k
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-...
user avatar
  • 12.8k
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....
user avatar
1 vote

How to use forceChatter:feed with a record?

I was facing same issue I fixed it using the feedDesign Attribte like below: <forceChatter:feed type="Record" subjectId="{!v.recordId}" feedDesign="DEFAULT"/>
user avatar

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