rubyforgood / human-essentials

Human Essentials is an inventory management system for diaper, incontinence, and period-supply banks. It supports them in distributing to partners, tracking inventory, and reporting stats and analytics.
https://humanessentials.app
MIT License
447 stars 474 forks source link

Change error message for "Quantity is not a number" to "Quantity is not a number -- note: commas are not allowed." #4310

Closed cielf closed 3 months ago

cielf commented 5 months ago

Summary

Provide more detail on "Quantity is not a number" error on Itemizables

Why?

This error specifically excludes values like "1,300" -- the comma is not allowed. But people who enter numbers with commas will expect them to be considered numbers. We need to explain better.

Details

Change the "Quantity is not a number" error on Itemizable to "Quantity is not a number . Note: commas are not allowed"

Criteria for completion

mikjmcc26 commented 5 months ago

I'd like to take this if available!

cielf commented 5 months ago

It's yours!

vsrnth commented 4 months ago

Can I pick this up?

dorner commented 4 months ago

Yes!

github-actions[bot] commented 3 months ago

This issue is marked as stale due to no activity within 30 days. If no further activity is detected within 7 days, it will be unassigned.