callstack / callstack/react-native-paper-login-template

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)

Aperta
#3 1 commento 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
272
Fork
71
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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:

```jsx
setEmail({ value: text, error: '' })}
error={!!email.error}
errorText={email.error}
autoCapitalize="none"
autoCompleteType="email"
textContentType="emailAddress"
keyboardType="email-address"
/>
```

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia con l’utilizzo di TextInput mostrato nell’issue e riproduci l’avviso durante il test della web build. Traccia il percorso della prop autoCompleteType fino all’input, quindi verifica che l’avviso sia scomparso senza modificare il comportamento previsto del campo e-mail.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
react-native
Ambito
frontend
Tipo di issue
Bug
Difficoltà
2/5
Tempo stimato
1-3 ore
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
38/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.