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

222
Visualizações
Directus Repeater Field does not trigger filter hook

Using Directus version 9.8, I have created a Repeater Field with two option ( title, description ).

enter image description here

I have added data in those repeater field.

enter image description here

I have created the following hook and this hook is getting triggered when i add data to repeater field, but when i update the value of existing Repeater field, then the Hook is not getting triggered.

import { defineHook } from '@directus/extensions-sdk';

export default defineHook(({ filter, action }) => {
    filter('items.create', (input, { collection }, { schema }) => {
        console.log('Creating Item!', input, collection, schema);
    });
    filter('items.update', (input, { collection }, { schema }) => {
        console.log('Updating Item!', input, collection, schema);
    });  
});

Generally Filter hook is triggered for updation operation in normal Fields. But the issue is the filter hook is not getting triggered for updation operation for repeater field. so the console log "Updating Item" is not getting logged in to console. Please help me to fix this issue or share your thoughts.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

Once i update to the latest version (9.10) of the Directus, then it was working fine.

about 4 years ago · Juan Pablo Isaza 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