function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SabrentSabrent 

recordForm

I am aware this ia know issue https://success.salesforce.com/issues_view?id=a1p3A000000oAQnQAM

Could someone suggest  a workaround? 
 I tried testing through Dev Console, as an tab but all i see is the cancel and save button
 
<aura:component 
                implements="flexipage:availableForAllPageTypes,force:appHostable,flexipage:availableForRecordHome,force:hasRecordId,force:hasSObjectName" 
                access="global" >
  
    <aura:attribute name="recordId" type="String" />
    <aura:attribute name="fieldsArray" type="String[]" default="['Name','Email','HomePhone','MobilePhone','AccountId']" />
       
    <lightning:card class="slds-card__body slds-card__body_inner" iconName="standard:contact" title="Quick PersonAccount" >
        
         <lightning:recordForm 
								aura:id="recordForm"
                                recordId="{!v.recordId}" 
        						objectApiName="Contact"
        						layoutType="Compact" 
                               	fields="{!v.fieldsArray}"
        						columns="2"
                               	mode="edit" 
  								onsubmit="{!c.onSubmit}"
                     			
		/>
    </lightning:card>
</aura:component>

 
Santosh Bompally 8Santosh Bompally 8
Add the component on a test community page and test it there.
Raj VakatiRaj Vakati
Well .. instead of saying know issue .. the  lightning:recordForm  component will only support 
Lightning Experience, Lightning Communities, Salesforce Mobile App ... Not Standalone Lightning App ... 

Refer to this link 

https://developer.salesforce.com/docs/component-library/bundle/lightning:recordForm/documentation
SabrentSabrent
@ Raj Vakati , and why do you assume that the  question was posted without me reading the documentation? 
It's not me descibing it as a known issue.