Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

975
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda