Hi I am trying to get look and feel of standard field in the lightning component, but I can't find any ways of doing that. When I am trying to use force:inputField, it is not even displaying any field.

Here is what I am trying

 <aura:attribute name="customObject" type="CustomObject__c" default="{ 'sobjectType': 'CustomObject__c'}"/>
 <force:inputField aura:id="contactName" value="{!v.customObject.Status__c}"/>

1 Answer 1


To make force:inputField working, first need to disable lightning debug

And for more detail this link will help Lightning Component initialization after redirect

You must log in to answer this question.

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