0

I am facing one issue with navigating to record from another component when user selected checkbox in one component and I will get those selected Id in next component.

1
  • 3
    Please show what you have done and ask specific questions about that. This site is not to provide code where you do not seem to have done any research or work prior to asking the question. See How to Ask and How to Answer
    – RedDevil
    Commented Jul 6, 2017 at 8:52

1 Answer 1

0

You can give name attribute to the checkbox and give the id of the record to it. For example,

<ui:inputCheckbox aura:id="checkbox" name="01p37000002uOCA" label="Select?" change="{!c.onCheck}"/>

In the onCheck method, you can access the ID as

var recordId = event.getSource().get("v.name");

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .