You need to sign in to do that
Don't have an account?
Auto Populate Date of birth by age In Lightning Component
When i input age in lightning input,date of birth will be auto populate with 1 jan of the year
For example -when i set 2 in years the age,date of birth will be 2 jan 2017
For example -when i set 2 in years the age,date of birth will be 2 jan 2017
Find the below code:
.cmp file controller.js
Let me know if you have any doubt.
Thanks,
Nitish