Closed github-actions[bot] closed 7 months ago
When inputting a value into the field, a user can input a negative value that updates the number of cows and wealth when it should not.
The user should see a popup similar to:
indicating that you should not be able to sell negative cows.
The number of cows and wealth should not be affected.
Currently, you can input a negative value which allows you to sell a negative number of cows - which doesn't make sense.
The wealth and # of cows values are updated accordingly with negative values as well.
Chrome on MacOS
Have you updated the title?
Summary
When inputting a value into the field, a user can input a negative value that updates the number of cows and wealth when it should not.
Expected Behavior
The user should see a popup similar to:
indicating that you should not be able to sell negative cows.
The number of cows and wealth should not be affected.
Current / Observed Behavior
Currently, you can input a negative value which allows you to sell a negative number of cows - which doesn't make sense.
The wealth and # of cows values are updated accordingly with negative values as well.
Steps to Reproduce
Browser / Platform Info
Chrome on MacOS