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

169
Views
No puedo obtener $ evento de una función js - Selector de fecha de reacción

estoy usando esta biblioteca https://github.com/hypeserver/react-date-range

Quiero que cuando haga clic en un solo día, capture este evento. Intenté esto pero arroja un error de DatePicker. Si cambio el orden de los parámetros, los errores no aparecen, pero el archivo console.log arroja "indefinido"

 const handleDatesChange = (e, date) => { console.log(e); // here i'm getting "undefined" ... }; <DateRangePicker preventSnapRefocus showPreview showSelectionPreview direction="horizontal" minDate={new Date()} monthDisplayFormat="MMMM yyyy" months={2} ranges={calendarDates} retainEndDateOnFirstSelection={false} showDateDisplay={false} showMonthAndYearPickers={false} weekdayDisplayFormat="EEEEEE" onChange={($event, item) => handleDatesChange($event, [item.selection])} />
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!