Skip to content

React does not recognize the autoCompleteType prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase autocompletetype instead. If you accidentally passed it from a parent component, remove it from the DOM element. in input (created by TextInput) #3

@kopax

Description

@kopax

I am testing the web and I have this warning:

index.js:1 Warning: React does not recognize the `autoCompleteType` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `autocompletetype` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
    in input (created by TextInput)

this seems to be where:

      <TextInput
        label="Email or phone number"
        returnKeyType="next"
        value={email.value}
        onChangeText={(text) => setEmail({ value: text, error: '' })}
        error={!!email.error}
        errorText={email.error}
        autoCapitalize="none"
        autoCompleteType="email"
        textContentType="emailAddress"
        keyboardType="email-address"
      />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions