The current validation logic is not handling this scenario appropriately, resulting in the rejection of valid numeric inputs containing a comma.
Expected Result:
The form should be successfully submitted, and the data entered in the field, even with a comma as the decimal separator, should be accepted.
Actual Result:
An error message is displayed, indicating that the field must be a number, preventing the submission of the form when a comma is present.
Solutions:
Removing the line "$this->rule('numeric');" works!
The current validation logic is not handling this scenario appropriately, resulting in the rejection of valid numeric inputs containing a comma.
Expected Result: The form should be successfully submitted, and the data entered in the field, even with a comma as the decimal separator, should be accepted.
Actual Result: An error message is displayed, indicating that the field must be a number, preventing the submission of the form when a comma is present.
Solutions: Removing the line "$this->rule('numeric');" works!