Skip to content

Commit

Permalink
fix: remove input type from number field (#7025)
Browse files Browse the repository at this point in the history
* fix: use inputMode instead of type for number fields

* fix: remove input type and mode from number field
  • Loading branch information
maribethb authored Jun 14, 2023
1 parent a11419d commit 438df87
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion core/field_number.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 438df87

Please sign in to comment.