-
Couldn't load subscription status.
- Fork 2.3k
Closed
Description
Steps to reproduce:
- Navigate to "Numbers" tab in live demo
- Select and backspace Number field to clear it
- Once reset to 0, attempt to enter "3.14"
- Note that it is not possible
Expected cause:
When change event occurs upon entering the decimal value, the value "3." will cast to integer value 3, thus removing the decimal and preventing the user from entering their desired value.
In other words:
console.log( Number( '3.' ) );
// => 3Metadata
Metadata
Assignees
Labels
No labels