mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
When the user entered a number beyond the stock level, the browser was correcting that to the max number which is very helpful. But Angular was setting the model to undefined which removes the item from the cart. Deactivating Angular's max behaviour let's us set the value ourselves which is then used in the cart.