bug(MatInputHarness): Numeric values are not supported on <input type="number" /> #23894
Labels
area: cdk/testing
needs: discussion
Further discussion with the team is needed before proceeding
P4
A relatively minor issue that is not relevant to core functions
Reproduction
Use StackBlitz to reproduce your issue:
https://stackblitz.com/edit/harness-issue-7whdxy?devtoolsheight=33&file=src/app/button-harness-example.spec.ts
Steps to reproduce:
matInputHarness.setValue(24)
or try to read a numeric value via
matInputHarness.getValue()
.Expected Behavior
I can read and set values as numbers (not strings), as numbers would appear in FormControl when user interacts with
<input type="number">
.Actual Behavior
I can only set and read values as strings.
Environment
The text was updated successfully, but these errors were encountered: