From 9e6371fdaf4a2ba62da9920d9011045a267f4e53 Mon Sep 17 00:00:00 2001 From: Igor Randjelovic Date: Wed, 23 Feb 2022 22:10:00 +0100 Subject: [PATCH] fix(android): boolean keyboardType should not set inputType (#9795) --- packages/core/ui/text-field/index.android.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/ui/text-field/index.android.ts b/packages/core/ui/text-field/index.android.ts index c08f82368..66fd1ce16 100644 --- a/packages/core/ui/text-field/index.android.ts +++ b/packages/core/ui/text-field/index.android.ts @@ -30,7 +30,7 @@ export class TextField extends TextFieldBase { // Check for a passed in Number value const value = +this.keyboardType; - if (!isNaN(value)) { + if (typeof this.keyboardType !== 'boolean' && !isNaN(value)) { this._setInputType(value); return; }