Closed kuenstl closed 6 years ago
The iron-input does prevent the user to enter text into the <iron-input> when type="number.
<iron-input>
type="number
See second example on: webcomponents.org demo page
iron-input
type="number"
Here iron-input-html Line 302, the type and allowedPattern are checked onKeyPress. Both properties are undefined in the demo page of iron-input.
onKeyPress
undefined
Description
The iron-input does prevent the user to enter text into the
<iron-input>
whentype="number
.Expected outcome
The iron-input does prevent the user to enter text into the
<iron-input>
whentype="number
.Actual outcome
The iron-input does prevent the user to enter text into the
<iron-input>
whentype="number
.Live Demo
See second example on: webcomponents.org demo page
Steps to reproduce
iron-input
element in the page.type="number"
to the iron-inputiron-input
does not prevent the user to enter text (text is displayed - different behavior as in Chrome)Browsers Affected