Worked example · simulated scenario
Correcting a Zero Serving Count
A stray zero should not erase a valid lunch. Rejecting it leaves room to correct the intended headcount without losing the meal already chosen for that date.
A lunch is already saved for two people. The cook types 0 in Servings by mistake.
Correct the serving count
- Open the saved lunch slot and change servings to 0.
- Attempt to save and review the number field validation.
- Enter 1, save and verify the new summary.
The last valid plan survives
Zero is rejected and the previous plan remains. Saving 1 updates the lunch to one serving.
The failed save leaves the previous two-person meal intact. Saving one is a deliberate valid update, so the plan and later ingredient calculations can use that smaller portion.
Choose No meal to remove a slot instead of entering zero.
