• Emma Brown 23
  • NEWBIE
  • 0 Points
  • Member since 2021

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 0
    Replies
I am using lightning-record-edit-form to creat/update existing record. I want to show date and datetime type fields in short format to align with salesforce forms.

One option that we found is with date-style for input-field but we don't want to change the component here. We wan't to do it with lightning-input-field only.

Default date-style for lightning-input-field:
User-added image
Date-style on salesforce forms: 
User-added image
I am trying to change date style to short for lightning-input-input field. but could not find any option to do so.

Any assistance would be greatly appreciated.

Thank you