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

129
Views
How to create Custom Lookup field in lightning-input which fetch the user name?

I want to create custom lookup field without using lightning-edit-record-form. Notify to when completed = lookup(users), its not fetching the users name. Here is what I coded:

<lightning-input

              class="requiredfield"
              type="search"
              name="notifyToWhenCompleted"
              variant="label-hidden"
              placeholder="Search Users" 
              value={userName}
              onchange={myLookupHandle} onkeydown={searchHandleClick} onclick={searchHandleClick}
              style="padding-bottom:20px; width:275px; font-weight:normal; color:#424345;">
             </lightning-input>

JS
myLookupHandle(event){
   console.log(event.detail);
   this.milestoneId = event.detail;
   this.userName = event.target.value;
}
 searchHandleClick(event){
    this.isShowResult = true;
    this.messageResult = false;
 }
  
  searchHandleKeyChange(event){
   this.messageResult=false;
   this.userName = event.target.value;
 }
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!