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
Perfect MathenjwaPerfect Mathenjwa 

lightning recordForm field accessibility issue

I have lightning recordForm with 2 fields. 
 
<aura:component implements="flexipage:availableForAllPageTypes,force:appHostable,flexipage:availableForReCordHome,force:hasrecordId,force:hassObjectName" access="global" >
    
<aura:attribute name="GeneralTabFields" type="String[]" Default="['Test__c', 	'Check_Test__c' ]" />

    <lightning:card  title="General"  >
          <div class="slds-p-left_large slds-p-right_medium">	
              <lightning:recordForm aura:id="recordViewForm" 
                                    objectApiName="{!v.sObjectName}"
                                    columns="2"
                                    fields="{!v.GeneralTabFields}"
                                    recordId="{!v.recordId}"
                                    mode="View"
                                    onsuccess="{!c.onSuccess}"
                                    onsubmit="{!c.onSubmit}"
                                    onload="{!c.onLoad}"
                                    onerror="{!c.onError}"
                                    />   
          </div>
    </lightning:card>
</aura:component>

User-added image

As soon as I remove accessibility on on of the fields I get an error " [Cannot read property 'updateable' of undefined]
v.get _rows [as _rows]()@https://companysanbbox--account2.lightning.force.com/components/lightning/recordForm.js:2:5561
g()@https://companysanbbox--account2.lightning.force.com/components/lightning/recordForm.js:2:1743"
.

User-added imageUser-added imageThis was not the case with summer 19 release, the issue started on winter 20 release. The expected behavior is that if I remove access to the field, the field should just not appear on the component since Lightning recordForm respects field level security. Please help