Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

165
Visualizações
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
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda