+ Start a Discussion
Bryant Daniels 46Bryant Daniels 46 

Lighting data service with lighting select

Was wondering if anyone has had success with creating a record using lighting data service that will bring in the picklist values for a field using lightning select and just binding the value to a aura iteration. Or do i still need to Schema.DescribeSObjectResult etc.. to retrieve the values from the server.  
Alain CabonAlain Cabon

Why didn't you use the  <lightning:inputField> directly ?
  • Picklist and multi-select picklist: Displays a picklist or multi-select picklist. Dependent picklists must be defined in your org before you can use them with lightning:inputField. Both controlling and dependent fields must be included in your component. See the example below.