Number format accepts letter E and e for Integer property field
User can enter the letter 'E' or 'e' in an Integer type property field.
Steps to Reproduce
Create a Property type as Integer. At runtime, user can enter the letter 'E' or 'e'.
This behavior is as per Pega product design.
'E' and 'e' are used to represent Exponent with number. These are valid characters for number representation.
For example, E5 means 100,000 or E-6 means 0.000001.
Here's the explanation for the reported behavior:
According to the HTML5 specification, for the client, <input type="Number"> accepts 'e' and 'E' as a valid character to represent an Exponent.
For the server, while submitting an integer with 'e' or 'E', the value is rejected as these characters are not accepted for integer type. The property must be configured to use Validate such that a message displays if 'E' or 'e' is entered.
0% found this useful