function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Сергей Жугин 7Сергей Жугин 7 

Sending data from fields

Hi, I began to study lightning and I wanted to write a small application. My application is based on two custom object Sensor and Sensor_Event which are connected with Master detail ralationship. In my component i have 9 <lightning:input> filds and a button. In these fields I enter records of Sensor or rather Sensor__c.Sensor_Events__r[0].x__c. How to collect all these fields and pass in Apex Controller in the form of parameters of Apex function? Please give me code examples