<aura:component implements="force:appHostable,flexipage:availableForRecordHome,force:hasRecordId,forceCommunity:availableForAllPageTypes,force:lightningQuickAction" access="global" >
<aura:attribute name="fields" type="String[]" default="['Capital_Markets_Outlook_CMO__c',
'Webcast__c',
'X75_20_Rate_Email_Update__c',
'Bernstein_Market_Insights_BMI__c',
'Quarterly_Video_Update__c',
'Crisis_Communications__c',
'Client_Quarterly__c',
'Quarterly_EE_Deck__c']" />
<div class="slds-box">
<lightning:recordForm
recordId="{!v.recordId}"
objectApiName="Contact"
fields="{!v.fields}"
columns="2"
mode="View"
/>
</div>
</aura:component>
- How to apply styling for a checkbox in lighting:recordform
Hi Kiran,Greetings to you! You can use the below CSS:
Please refer to the below links which might help you further with the above requirement.https://salesforce.stackexchange.com/questions/223746/how-to-apply-styling-for-a-checkbox-in-lightingrecordformhttps://github.com/salesforce-ux/design-system/issues/570I hope it helps you.Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future. It will help to keep this community clean..THIS .slds-checkbox [type=checkbox][disabled]+.slds-checkbox__label .slds-checkbox_faux {
background-color: rgba(201, 199, 197, 0.96);
}
Thanks and Regards,
Khan Anas
