Created
November 13, 2018 10:15
-
-
Save simpluslabs/337e002482a290b2ade95cbdfdef5868 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<aura:component controller="ContactController"> | |
<aura:handler name="init" value="{!this}" action="{!c.doInit}" /> | |
<aura:attribute name="contact" type="Contact" default="{ 'sobjectType': 'Contact' }"/> | |
<p> | |
<strong>force input field</strong><br/> | |
Id: <force:inputField value="{!v.contact.Id}"/><br/> | |
Name: <force:inputField value="{!v.contact.LastName}"/><br/> | |
CleanStatus: <force:inputField value="{!v.contact.CleanStatus}"/> | |
</p> | |
</aura:component> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment