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

160
Visualizações
How to set another field in show table instead of the id in relationships fields in Laravel BackPack?

I have an issue here, I have an entity that contains relationships only, and I need to show in the table generated by backpack crud another field of the entity instead of the id, check it out in the picture below:

Image

For instance, the President is a user, and I want to show the Name of that user instead of the id, is there any way to achieve this?, thanks.

Bests!

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

0

For 1 to n relation use select column type.

For n t n relation use select_multiple column type.

Hope it help you to find right solution :)

over 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