I’m making a project in angular 9. I need to add age validation in the input field where input type = text .I have not taken input field = date because I wanted to add age not date of birth.
Can anyone provide me with solution or link that shows how to add age validation with validation messages with the input field ,in a reactive form in angular. The reason that I made reactive form is that it has more flexibility provided in it.
Please answer me I’m badly stuck and need help.