fix(android): boolean keyboardType should not set inputType (#9795)

This commit is contained in:
Igor Randjelovic
2022-02-23 22:10:00 +01:00
committed by Nathan Walker
parent a4725ed8e5
commit 9e6371fdaf

View File

@ -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;
}