On the Case object, I have a lightning component that displays only the fields of interest depending on the Status of the case. I have a separate Change_Status_To__c
dependent picklist that actually controls what options are available to the user for updating the status (and automation in the backend actually changes the status).
I'm currently using lightning:recordForm
to display the relevant fields, and would like to display just the Status
field as read only. Is there anyway to single out/access this field and set it as read only?
All other fields should be editable, and would like to avoid using lightning:recordEditForm
if possible
fields
. I'm updating them dynamically based on the currentStatus
, and I basically use anaura:if
to turn off / on the component to load the fields properly. Otherwise there's weird behavior that the new fields just add on to the existing fields on therecordForm
component