Added two select elements in the add family popup for year and month respectively. #425
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user