diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-02-21 11:25:42 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-21 11:25:42 -0800 |
commit | ca7116ec3b834644d89983b7f7f9ee63fe8f1aff (patch) | |
tree | 8158cbc4191d37c54835eaa4c579b527355988fd /src/components/forms/DateField/index.web.tsx | |
parent | 80e59d31d03afd62d41a301a85b66f6acb772c93 (diff) | |
download | voidsky-ca7116ec3b834644d89983b7f7f9ee63fe8f1aff.tar.zst |
connect inputs together in signup (#7809)
Diffstat (limited to 'src/components/forms/DateField/index.web.tsx')
-rw-r--r-- | src/components/forms/DateField/index.web.tsx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/forms/DateField/index.web.tsx b/src/components/forms/DateField/index.web.tsx index 057ea1673..00f58202a 100644 --- a/src/components/forms/DateField/index.web.tsx +++ b/src/components/forms/DateField/index.web.tsx @@ -34,6 +34,7 @@ const Input = TextField.createInput(InputBase as unknown as typeof TextInput) export function DateField({ value, + inputRef, onChangeDate, label, isInvalid, @@ -58,9 +59,9 @@ export function DateField({ <TextField.Icon icon={CalendarDays} /> <Input value={toSimpleDateString(value)} + inputRef={inputRef as React.Ref<TextInput>} label={label} onChange={handleOnChange} - onChangeText={() => {}} testID={testID} accessibilityHint={accessibilityHint} // @ts-expect-error not typed as <input type="date"> even though it is one |