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

392
Views
Reaccionar: estoy usando la opción onclick que requiere una variable de un componente que representa dinámicamente una serie de elementos, pero no funciona
 dropdownClick =(value ) => { this.setState({searchGroup: value.name, elementSelected: value}) }

(Intenté insertar el bloque setState dentro de onClick y tampoco funcionó)

 <InputGroup className="mb-2"> <Input value={this.state.searchGroup} onChange={(e) => this.filtergroups(e.target.value)} /> <InputGroupButtonDropdown addonType="append" isOpen={this.state.drop} toggle={this.AbrirCerrarDropdown} > <DropdownToggle caret className="red button">Grupos</DropdownToggle> <DropdownMenu>{this.state.skillGroupsFiltered.map((element, index) => ( <DropdownItem key={index} onClick={() => this.dropdownClick(element)}>{element.name}</DropdownItem> ))} </DropdownMenu> </InputGroup>
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!