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

982
Visualizações
How to do validation for date field in angular

I need validation for the date field in angular8 or 10

Format- DD/MM/YYYY

Conditions:

->First, if the user enters [32] it should show an error message because max dates are 31 only every month.

->if he enters [31/02] then again, it should show an error because February doesn't have 31 days like this for every month

->If he enters [21/01/156277] again, it should show an error because the year should contain only 4 digits at last.

->I need validation in this way

->After date and month slash symbol should apply automatically if it is not the possible user should enter manually

->please help me with this https://stackblitz.com/edit/angular-bstzvt?file=src%2Fapp%2Fdatepicker-overview-example.ts

->I have written some conditions but not getting where to apply them please help me with this

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

0

i try so much and i think find it. see this : https://stackblitz.com/edit/angular-bstzvt-hnusdx?file=src/app/datepicker-overview-example.html

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