Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validation in check number form #78

Open
mprat opened this issue Aug 17, 2024 · 0 comments
Open

Validation in check number form #78

mprat opened this issue Aug 17, 2024 · 0 comments

Comments

@mprat
Copy link
Member

mprat commented Aug 17, 2024

Can we add validation in the check number form for returns? The backend only accepts a field of length 16, but deskworkers sometimes add longer text, throwing an error in the backend and (1) throwing a Sentry error that I can see, (2) I don't know what appears in the UI for deskworkers.

Can we limit that form to only take up to length 16 characters (https://github.com/mitoc/gear-db-django/blob/069edbd4ea8996bf1a2a31e19764d096d6288111/geardb/models/models.py#L716)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant