mirror of
https://github.com/google/blockly.git
synced 2026-01-11 10:57:07 +01:00
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:
committed by
GitHub
parent
a11419d6b7
commit
438df8761d
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user