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

249
Views
How to show prefilled data in the right table of the React Dual Listbox?

I have implemented the React Dual Listbox library in my project. I have a update employee detail form where in the Listbox right hand side table, I need to show the items the user had selected previously while submitting basic detail form.

Now whenever I open the update form, I call an api which gives me the data (in my case a list of items) which user has selected previously while submitting the form. I use this data to prefill the react dual listbox right hand side table which shows the selected items. But, I am not able to prefill it. I used the selected attribute of the <DualListBox> tag by storing the array of items from the api into the selected array, but still was not able to show the prefilled data.

Please refer React Dual Listbox

How can I show the prefilled data?

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!