Can add a loan preparation without a quantity #6050
Labels
1 - Bug
Incorrect behavior of the product
2 - Interactions
Issues that are related to interactions, including loans, exchanges, gifts, and more
Describe the bug
You can empty out the Selected field when selecting preparations for a new loan and save it without a quantity. Furthermore, you can empty the quantity field on a existing loan and still save.
Unsure if the second behavior is intended (because you don't get a save blocker when having the field empty or 0 on an existing loan), but the first one definitely isn't. When creating a new loan, setting the value to 0 means that it shouldn't be selected. This is effectively the same case.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Similar to negative numbers and numbers larger than the amount of preparations, this should not be allowed; preferably clicking Apply should block this.
Screenshots
badloan.mp4
Please fill out the following information manually:
sdnhm_herps_2_8_24
The text was updated successfully, but these errors were encountered: