Issue:
The number field on forms accepts a max of 2 dashes (-) as input, but it looks like this invalidates the number entered.
Here is a GIF showing the actual behavior
Observation:
When a number field is required, entering the dash between numbers invalidate the input as the "This field is required" message appears even if a number is still there. This behavior happens for both required fields with whole number validation and none.
However, when the dashes are added before the numbers (negative number), works without any issues
Input
On non-required fields, the number with dashes are taken (even with validation enabled), however, the numbers do not appear on the output
Issue: The number field on forms accepts a max of 2 dashes (-) as input, but it looks like this invalidates the number entered.
Here is a GIF showing the actual behavior
Observation:
When a number field is required, entering the dash between numbers invalidate the input as the "This field is required" message appears even if a number is still there. This behavior happens for both required fields with whole number validation and none.
However, when the dashes are added before the numbers (negative number), works without any issues Input
On non-required fields, the number with dashes are taken (even with validation enabled), however, the numbers do not appear on the output
Input:
Form Output on Ticket:
This was tested on form https://dev.deskdirector.com/admin/v2/portal/forms/3623/editor