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
This commit is contained in:
Maribeth Bottorff
2023-06-14 09:36:52 -07:00
committed by GitHub
parent a11419d6b7
commit 438df8761d

View File

@@ -295,7 +295,6 @@ export class FieldNumber extends FieldInput<number> {
*/
protected override widgetCreate_(): HTMLInputElement {
const htmlInput = super.widgetCreate_() as HTMLInputElement;
htmlInput.type = 'number';
// Set the accessibility state
if (this.min_ > -Infinity) {