Emergency Req can have nulls for requested qty and req qty exp
Per test steps, all fields in the emergency requisition are required. Yet I am able to delete amounts and an explanation in the field, and still submit the emergency requisition successfully.
Steps to Reproduce:
Initiate an emergency requisition (as srmanager1)
Add two or more products with requested qty and req quantity explanation
Remove requested qty for one of the products. There is no error icon stating this field is required.
Now remove the requested qty explanation. There is no error icon stating this field is required.
Click Submit. The requisition is submitted successfully. The requisition can be submitted with nulls for all fields.
In Chrome, the error icon appears when I clear one field, but then if I clear both, the error icons go away and I can submit.
When a product is added to the emergency requisition, the requested qty and req qty explanation fields are required.
If the requested qty or req qty explanation fields are null, the user should see an input error icon, saying that the field is required.
The emergency requisition cannot be submitted if there is no data in these fields.
If a user has added products they do not want, they have to delete the emergency requisition and initiate a new one correctly.
I tested the ticket, and everything works properly.