Skip to content

Commit 65503ba

Browse files
authored
fix(TextField): allow toggling of secure when secureWithoutAutofill is present
1 parent 80f3120 commit 65503ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/ui/text-field/index.ios.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ export class TextField extends TextFieldBase {
241241
}
242242

243243
private _applySecureWithoutAutofillTraits(textField: UITextField): void {
244-
if (!textField || !this.secureWithoutAutofill) {
244+
if (!textField || !this.secureWithoutAutofill || !this.secure) {
245245
return;
246246
}
247247

0 commit comments

Comments
 (0)