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

160
Views
Disable redirection when selection (d&d) is on appointment

I'm working on a project where I'm using big calendar reactjs, in any place in the calendar if I click on slot or select zonetime it redirects me to another page. but my objective is to make the redirection deactivate when I select a zonetime and this zone contains part of the appointment example if I select 9-10 and I have an appointment 9:45-10-15 I must deactivate the redirection same thing if I have an appointment 9:45-10:15 and I select 10:00-10:30am you should not do the redirection. and it is necessary that the slots where there is the appointment remain activated to make the redirection. that is to say the small part on the right side of the appointment(you can see the doc view day to better understand) must always be activated and also the other places in the calendar always remain to do the redirection. here the link of doc BiG Calendar, you should change the view on day. https://codesandbox.io/s/react-big-calendar-drag-and-drop-events-between-months-forked-bmyoy6?file=/src/index.js .

here the function responsible for the redirection. start and end are for select timezone and the doctorId is the columns of the calenda.

any help would be appreciated.

 handleSelectSlot({ start, end, doctorId }) {
   if (doctorId) {

this.props.history.push(`${NEW_APPOINTMENT}`)}}
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!