-
Notifications
You must be signed in to change notification settings - Fork 630
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
Number field type, with decimals, fails if string is entered #3059
Comments
Fixed just in time for the 3.0.14 release :) |
Why it the format Number not enforced trough input[type=text] in the form ? |
Because |
@brandonkelly thanks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
When entering texts in a Number field type with decimals, validation fails, returning an error
PHP Warning – yii\base\ErrorException
number_format() expects parameter 1 to be float, string given
Here is a full error log https://gist.github.com/nicolasbinet/bc241f35003cb01335f0a38a2de69946
Steps to reproduce
Additional info
The text was updated successfully, but these errors were encountered: