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

399
Visualizações
Angular, PrimeNg value p-message is not allowed

Hello got some problem with the p-message Tag in angular. I think ive imported it correctly as i show below.

  import { MessageModule } from 'primeng/message';

  imports: [
    ....
    MessageModule,
    ...

In the html component it is:

  <p-message [value]="message"></p-message>

And in addition, in the ts script it is:

  message: Message[] = [];

Why i got this error, all the time?!

  1. If 'p-message' is an Angular component and it has 'value' input, then verify that it is part of this module.
  2. If 'p-message' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the '@NgModule.schemas' of this component to suppress this message.
  3. To allow any property add 'NO_ERRORS_SCHEMA' to the '@NgModule.schemas' of this component.

I want to display the error toastmessage above the inputfield, that someone knows that it already exists.

Thanks in the front for your help guys!

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