Added two select elements in the add family popup for year and month respectively. #425

Merged
ameye merged 1 commits from Recent-Activities into master 2023-09-25 09:56:25 +00:00
+1 -1
View File
@@ -326,7 +326,7 @@ function YearMonthDropdowns({
const currentYear = new Date().getFullYear();
// Generate an array of years from the current year to (currentYear - 19)
const years = Array.from({ length: 20 }, (_, index) => currentYear - index);
const years = Array.from({ length: 17 }, (_, index) => currentYear - index);
// Array of month names
const months = [