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

98
Visualizações
Modifying resourceEditable with method setProp is not working

I am trying to modify the value of the property resourceEditable of a given event inside the callback eventDidMount. To do this I am using the method setProp like this :

arg.event.setProp('resourceEditable', eventEditable);

arg is the argument of the callback eventDidMount.

eventEditable is a variable that takes the value true or false.

When I am doing so, I am getting a warning

"Could not set prop 'resourceEditable'. Use setExtendedProp instead.".

So I tried to use setExtendedProp but obviously it is not working like I want... The property resourceEditable remains at its previous value and the method is adding an extended property resourceEditable.

Does anyone know how I can solve this ?

I am working with FullCalendar Scheduler v5.11.0.

almost 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

The problem seems to be known. I found a solution from N-Gol on this page :

https://github.com/fullcalendar/fullcalendar/issues/5166

Next problem now, using several call of setProp doesn't work properly, only the last call seems to work. Really weird behaviour

almost 4 years ago · Santiago Trujillo Relatório
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