Skip to content

Fix: input type number warning in browsers #4772

New issue

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

Merged
merged 1 commit into from
Sep 10, 2020

Conversation

Th0rN13
Copy link
Contributor

@Th0rN13 Th0rN13 commented May 3, 2020

Fix #1701

Redo tests, but this case it cant be direct tested, only warning in browsers.
You can check this warnings in browser via REPL
If you set string or undefined to input-type-number binded variable browser show warning in devtools console. You need set number and then other "wrong" value to repeat warning
To check usecase, check REPL from 1701 issue, but look not to repl console, but browser console.

@stalkerg
Copy link
Contributor

stalkerg commented Jun 5, 2020

Thanks, this issue is still actual.

@Th0rN13 Th0rN13 force-pushed the fix/bind-input-number-null branch from 36de7dc to f88381c Compare June 11, 2020 05:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

For input numbers we should use null instead undefined in toNumber
4 participants