A strength of Visualforce's apex:inputField is that it automatically respects the view/edit permissions that come from the profile/permission sets for both the object and the fields.

I'm assuming Lightning Web Component's lightning-input-field incorporates that mechanism too, but haven't found confirmation of that by Googling. Does it?

  • 1
    I would be surprised if it didn't since it is for supporting field input.
    – Phil W
    Feb 1, 2020 at 18:22

1 Answer 1


The lightning-record-edit-form supports field-level security that turns out that lightning-input-field also supports FLS. Didn't find any documentation for the lightning-input-field.

Reference - https://developer.salesforce.com/docs/component-library/bundle/lightning-record-edit-form/documentation

Enclosing an image for a quick look- enter image description here

ADD ON - I found a salesforce developer's blog stating for lightning:inputField - https://developer.salesforce.com/blogs/2018/01/spring-18-developers-build-secure-interactive-forms-faster.html

enter image description here

  • This is the question on LWC, not aura base component Feb 1, 2020 at 14:38
  • 2
    Hi @SantanuBoral, I'm under the impression that e.g. lightning:inputField and lighting-input-field are APIs into the same underlying logic now. Is that not the case?
    – Keith C
    Feb 2, 2020 at 11:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .