From 23e62b18de9537b50c8b1df2b4744adc030501d0 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Mon, 3 Feb 2025 12:27:58 -0800 Subject: Date input improvements (#7639) * add max date, use modern field for birthday input * rm legacy date input * handle simplifying to simpleDateString internally * update jsdoc --- src/screens/Signup/StepInfo/index.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/screens/Signup/StepInfo/index.tsx') diff --git a/src/screens/Signup/StepInfo/index.tsx b/src/screens/Signup/StepInfo/index.tsx index fa0c7c8cf..4ad899864 100644 --- a/src/screens/Signup/StepInfo/index.tsx +++ b/src/screens/Signup/StepInfo/index.tsx @@ -206,7 +206,7 @@ export function StepInfo({ { dispatch({ type: 'setDateOfBirth', @@ -215,6 +215,7 @@ export function StepInfo({ }} label={_(msg`Date of birth`)} accessibilityHint={_(msg`Select your date of birth`)} + maximumDate={new Date()} />