Closed
Description
Reproduction
https://stackblitz.com/edit/mat-input-harness-negative-issue
Is this related to #18812 ?
Steps to reproduce:
- use an html
<input type="number">
- set a negative value using the MatInputHarness.setValue('-2')
- check the value using MatInputHarness.getValue()
- this value will be positive '2'
Expected Behavior
Value should be set to negative number
Actual Behavior
The value has a positive value
Environment
- Angular: 9.1.6
- CDK/Material: 9.1.6
- Browser(s): Chrome 81.0.4044.113
- Operating System (e.g. Windows, macOS, Ubuntu): macOS 10.15.4
Metadata
Metadata
Assignees
Labels
No labels