New answers tagged

0

Standard LWC components that support "class" only support SLDS classes against their content. Any non-SLDS classes applied appear on their container element but typically have little or no effect other than to allow you to find elements by class name or to add exterior styling (around the outside of the component). This is due to the fact that all ...


0

Well, you can apply CSS to the child LWC directly from your parent AURA Component. Simply, .THIS button{ width: 150px; } This should apply to the child LWC button too! Or you can change the lightning-button to <button class="slds-button slds-button__brand fixed-width">Create a JIRA ticket></button> And, .fixed-width{ width: 150px !...


0

I guess you are looking for something like this. <div class="slds-form-element"> <label class="slds-form-element__label" for="text-input-id-1">Search</label> <div class="slds-form-element__control slds-input-has-icon slds-input-has-icon_right" onclick="{!c.clickme}"> ...


0

You're submitting the form twice, thus causing a race condition. The two submissions are from the apex:actionSupport and the default behavior of apex:commandButton. Handling an exception takes a few milliseconds (about 30-40), so this extra delay is causing the view state to get messed up. Change your button to: <apex:commandButton reRender="...


0

You can make the field they are clicking 'required', this would not allow the user to advance through the flow without an input.


0

You can use if condition inside an URL button in Salesforce. For example, see below button formula:- {!IF( ISPICKVAL( Opportunity.Type , "New Business") , URLFOR('/'+Opportunity.Id+'/e? clone=1&retURL='+Opportunity.Id), URLFOR('/'+Opportunity.Id+'/e'))} The key point is:- Do not use curly braces inside if condition. Use URLFOR function to ...


0

No, unfortunately that is not possible. The buttons on standard 'Recently Viewed' list views can not be customized. See details here Only way to remove the button would be to take away create access from opportunity for a profile.


Top 50 recent answers are included