We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Given a very basic SMUI number input defined like:
<Textfield bind:value label="Quantity" type="number" input$name="quantity"/> <script> import Textfield from '@smui/textfield'; let value = ''; </script>
Pressing delete or backspace using the keyboard causes SMUI to throw:
The specified value "NaN" cannot be parsed, or is out of range.
SMUI throws at WARN level and, in this case, twice each time the value is cleared by the user.
To Reproduce Steps to reproduce the behavior:
Expected behavior SMUI does not attempt to parse NaN unless the field value is explicitly set to NaN in userland.
NaN
Screenshots
Desktop (please complete the following information):
Additional context I believe this is related to #40 which was closed.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Given a very basic SMUI number input defined like:
Pressing delete or backspace using the keyboard causes SMUI to throw:
SMUI throws at WARN level and, in this case, twice each time the value is cleared by the user.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
SMUI does not attempt to parse
NaN
unless the field value is explicitly set toNaN
in userland.Screenshots
Desktop (please complete the following information):
Additional context
I believe this is related to #40 which was closed.
The text was updated successfully, but these errors were encountered: