When creating a new invoice, in the quantity text field the arrows don't allow the input of decimal numbers. However, if i manually type a decimal number in the text field, it will be accepted .The quantity field shouldn't be a decimal number but a whole number. I added an error message to be displayed whenever a user writes a decimal number.
Related Issues
1010
Screenshots (if applicable)
Before:
After:
Checklist
[X] I have tested these changes
[X] I have updated the relevant documentation
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the codebase
[X] My changes generate no new warnings or errors
[X] The title of my pull request is clear and descriptive
Description
When creating a new invoice, in the quantity text field the arrows don't allow the input of decimal numbers. However, if i manually type a decimal number in the text field, it will be accepted .The quantity field shouldn't be a decimal number but a whole number. I added an error message to be displayed whenever a user writes a decimal number.
Related Issues
1010
Screenshots (if applicable)
Before: After:
Checklist