Component
TextInput
Package version
3.0.0-rc.10
@microsoft/fast-element version
2.10.2
Environment
https://stackblitz.com/edit/typescript-aqfpjpi6
Current Behavior
When setting type="number" on the web component then you get the buttons for incrementing and decreasing the value. But the input does not except , or . as keystroke.
When I enter . the component will clear the value. My PC locale is de-de.
Expected Behavior
I expect the component to accept both characters to input decimal values just like the normal html input.
Reproduction
https://stackblitz.com/edit/typescript-aqfpjpi6
Steps to reproduce
- Click into the text field
- Try type 1.5 or 1,5
- Try the same for the native `input type="number" below
Are you reporting an Accessibility issue?
no
Suggested severity
High - No workaround
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations
Component
TextInput
Package version
3.0.0-rc.10
@microsoft/fast-element version
2.10.2
Environment
Current Behavior
When setting
type="number"on the web component then you get the buttons for incrementing and decreasing the value. But the input does not except,or.as keystroke.When I enter
.the component will clear the value. My PC locale is de-de.Expected Behavior
I expect the component to accept both characters to input decimal values just like the normal html input.
Reproduction
https://stackblitz.com/edit/typescript-aqfpjpi6
Steps to reproduce
Are you reporting an Accessibility issue?
no
Suggested severity
High - No workaround
Products/sites affected
No response
Are you willing to submit a PR to fix?
no
Validations