Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

973
Views
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 answers
Answer question

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 Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!