[fix] Input tags (#3038)

This PR fixes the input tags, which were set to `false` rather than
`off`, as they should be.

### Change Type

- [x] `patch` — Bug fix

### Test Plan

1. Test autocomplete
2. Test autocapitalize
3. Test autocorrect
4. Make sure that password managers don't show up


### Release Notes

- Fixed autocomplete, autocapitalize, and autocorrect tags on text
inputs.
pull/3065/head
Steve Ruiz 2024-03-04 14:46:37 +00:00 zatwierdzone przez GitHub
rodzic 03b9acf564
commit 18a550ccdb
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
3 zmienionych plików z 12 dodań i 12 usunięć

Wyświetl plik

@ -61,10 +61,10 @@ export const ArrowTextLabel = React.memo(function ArrowTextLabel({
className="tl-text tl-text-input"
name="text"
tabIndex={-1}
autoComplete="false"
autoCapitalize="false"
autoCorrect="false"
autoSave="false"
autoComplete="off"
autoCapitalize="off"
autoCorrect="off"
autoSave="off"
autoFocus
placeholder=""
spellCheck="true"

Wyświetl plik

@ -105,10 +105,10 @@ export const TextLabel = React.memo(function TextLabel<
className="tl-text tl-text-input"
name="text"
tabIndex={-1}
autoComplete="false"
autoCapitalize="false"
autoCorrect="false"
autoSave="false"
autoComplete="off"
autoCapitalize="off"
autoCorrect="off"
autoSave="off"
autoFocus
placeholder=""
spellCheck="true"

Wyświetl plik

@ -114,10 +114,10 @@ export class TextShapeUtil extends ShapeUtil<TLTextShape> {
className="tl-text tl-text-input"
name="text"
tabIndex={-1}
autoComplete="false"
autoCapitalize="false"
autoCorrect="false"
autoSave="false"
autoComplete="off"
autoCapitalize="off"
autoCorrect="off"
autoSave="off"
autoFocus
placeholder=""
spellCheck="true"