Skip to content

Commit

Permalink
Updated TextInput autoCompleteType prop to autoComplete 2/2 (#26010)
Browse files Browse the repository at this point in the history
Summary:
Fix for bug #26003 Rename TextInput prop "autoCompleteType" to "autoComplete".

## Changelog

[Android] [Breaking] - Updated `autoCompleteType` prop of `TextInput` to `autoComplete`

Pull Request resolved: #26010

Test Plan: Sandcastle

Reviewed By: mdvacca

Differential Revision: D29795575

Pulled By: lunaleaps

fbshipit-source-id: 6eba7030968e9b7384529a43a6cd1b3c9e8b2a2c
  • Loading branch information
jeswinsimon authored and facebook-github-bot committed Aug 12, 2021
1 parent cbec66e commit 27fec95
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export type NativeProps = $ReadOnly<{|
*
* @platform android
*/
autoCompleteType?: WithDefault<
autoComplete?: WithDefault<
| 'cc-csc'
| 'cc-exp'
| 'cc-exp-month'
Expand Down
2 changes: 1 addition & 1 deletion Libraries/Components/TextInput/TextInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ type AndroidProps = $ReadOnly<{|
*
* @platform android
*/
autoCompleteType?: ?(
autoComplete?: ?(
| 'birthdate-day'
| 'birthdate-full'
| 'birthdate-month'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ module.exports = {
*
* @platform android
*/
autoCompleteType: (PropTypes.oneOf([
autoComplete: (PropTypes.oneOf([
'cc-csc',
'cc-exp',
'cc-exp-month',
Expand Down

0 comments on commit 27fec95

Please sign in to comment.