Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

105
Views
copie el valor en una iteración para enviar un mensaje de texto a otro campo en el aura de salesforce
 <aura:iteration items="{!v.QliList}" var="Qli" indexVar="index"> <tr> <td> {!index + 1} </td> <td> <c:lookupField objectAPIName="US_DB_QLI__c" label="{!index}" returnFields="['Name']" queryFields="['Name']" selectedId="{!v.selectedId}" filter="CreatedDate > 2001-01-01T00:00:01Z" aura:id="QliName" /> <lightning:input size="8" type="text" required="true" value="{!Qli.Name}" onclick="{!c.echo}"/> </td> </aura:iteration>

Controlador de secuencias de comandos Java:

 echo: function(component, event, helper) { let Index = event.getSource().get("v.name"); // var searchInput =component.get("v.QliList").find(row =>Index); var searchValue = component.find("QliName").get("v.selectedId"); alert(searchValue); var qlistring='v.QliList['+Index+'].Name'; component.set(qlistring,searchValue); }

¿Hay alguna forma posible de obtener el valor de (c: lookupField) por etiqueta definida por el índice dinámico label="{!index}"

en el código anterior obtengo el mismo valor para todos los elementos iterados. alguien me puede ayudar en este sentido.

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!