An introduction to Lightning input field components

The Lightning Input field allows us to create a form (using Lightning:recordEditForm) to insert/update records. For update scenarios, specify the recordId and recordTypeId attributes. The advantage of this component depends on the field data type the form fields widgets appear appropriately. For example, if you have a dependent Picklist, the Picklist selector is rendered; for a date type field, a date picker is rendered.

Get Learning Salesforce Lightning Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.