From 438df8761d6a0090911860ca757515f3b2fa797f Mon Sep 17 00:00:00 2001 From: Maribeth Bottorff Date: Wed, 14 Jun 2023 09:36:52 -0700 Subject: [PATCH] fix: remove input type from number field (#7025) * fix: use inputMode instead of type for number fields * fix: remove input type and mode from number field --- core/field_number.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/core/field_number.ts b/core/field_number.ts index 7ca36d039..511f27553 100644 --- a/core/field_number.ts +++ b/core/field_number.ts @@ -295,7 +295,6 @@ export class FieldNumber extends FieldInput { */ protected override widgetCreate_(): HTMLInputElement { const htmlInput = super.widgetCreate_() as HTMLInputElement; - htmlInput.type = 'number'; // Set the accessibility state if (this.min_ > -Infinity) {