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

(932) Improve validation for rate amounts #3156

Merged

Conversation

pezholio
Copy link
Contributor

@pezholio pezholio commented Feb 21, 2025

Trello card: https://trello.com/c/VWe7vgjf/932-improve-validation-for-rate-amounts

This improves the rate validation to:

I’ve also added a couple of extra rates to ensure the validation works as expected.

This improves the rate validation to:

- Ensure only 1 currency symbol is present
- Make decimal points optional
- Ensure bigger numbers have commas (as per the numbers guidance https://www.gov.uk/guidance/style-guide/a-to-z#numbers)

I’ve also added a couple of extra rates to ensure the validation works
as expected.
@pezholio pezholio merged commit 73dcb21 into main Feb 21, 2025
41 checks passed
@pezholio pezholio deleted the content-modelling/932-improve-validation-for-rate-amounts branch February 21, 2025 11:07
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

Successfully merging this pull request may close these issues.

2 participants