Newer Version Available

This content describes an older version of this product. View Latest

force:inputField

An abstract component that provides a concrete type-specific input component implementation based on the data to which it is bound.

Attributes

Attribute Name Attribute Type Description Required?
body Component[] The body of the component. In markup, this is everything in the body of the tag.
class String The CSS style used to display the field.
errorComponent Component[] A component which is responsible for displaying the error message.
required Boolean Specifies whether this field is required or not.
value Object Data value of Salesforce field to which to bind.