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
Nikita Yadav 17Nikita Yadav 17 

populate audit fields with datetime in edit form lwc

Hello,

I have LWC component with <lightning-record-edit-form> and i want to display audit fields like,User-added imagebut Currently it is showing like,
User-added imageis there any way to display fileds same as picture 1?
AnkaiahAnkaiah (Salesforce Developers) 
Hi Nikita,

Right now we don't have support for field type Time in lighting-record-view, lightning-record-form and lightning-record-edit-form. 

Please upvote using below link and it will be available in the future releases.

https://ideas.salesforce.com/s/idea/a0B8W00000GdWi0UAF/add-support-for-time-data-type-field-in-recordview-recordform-and-editform

https://salesforce.stackexchange.com/questions/334010/lwc-lightning-record-form-time-field-edit

If this helps, please mark it as best answer, it will be helpful for future refenece.

Regards,
Ankaiah Bandi