Skip to content

TextInput: map birthdate-* autoComplete values to HTML bday-* tokens - #2984

Closed
aloneangel45 wants to merge 2 commits into
necolas:masterfrom
aloneangel45:fix/textinput-birthdate-autocomplete
Closed

aloneangel45 wants to merge 2 commits into
necolas:masterfrom
aloneangel45:fix/textinput-birthdate-autocomplete

Conversation

@aloneangel45

Copy link
Copy Markdown

Maps React Native's birthdate-* autoComplete (and fallback autoCompleteType) values to the corresponding HTML autofill tokens:

  • birthdate-day -> bday-day
  • birthdate-month -> bday-month
  • birthdate-year -> bday-year
  • birthdate-full -> bday

Unmapped values (including standard HTML tokens and 'off') continue to pass through unchanged.

Fixes #2973

@aloneangel45

Copy link
Copy Markdown
Author

Merged upstream/master in 048d020 and updated TextInput (packages/react-native-web/src/exports/TextInput/index.ts and __tests__/index-test.tsx) to align with the upstream removal of autoCompleteType and handle nullable autoComplete safely. Verified npm run typecheck, npm run lint, and npm run unit -- packages/react-native-web/src/exports/TextInput/__tests__/index-test.tsx pass locally.

…thdate-autocomplete

# Conflicts:
#	packages/react-native-web/src/exports/TextInput/__tests__/index-test.tsx
#	packages/react-native-web/src/exports/TextInput/index.ts
@zoontek zoontek closed this in 7bc63a8 Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

TextInput: map React Native's birthdate-* autoComplete values to HTML's bday-* tokens

1 participant