forgejo/services/forms
Gusted 5706a2452e fix(ui): display user-friendly message for range error (#7420)
- Instead of displaying 'RangeError: Range' display 'x must be a number between $MIN and $MAX' when the validation fails for a range error check.
- Resolves forgejo/forgejo#3510
- Added integration testing.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/7420
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Co-authored-by: Gusted <postmaster@gusted.xyz>
Co-committed-by: Gusted <postmaster@gusted.xyz>
2025-04-02 15:48:09 +00:00
..
admin.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
auth_form.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
org.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
package_form.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
repo_branch_form.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
repo_form.go fix(ui): display user-friendly message for range error (#7420) 2025-04-02 15:48:09 +00:00
repo_form_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
repo_tag_form.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
runner.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
user_form.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
user_form_auth_openid.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
user_form_hidden_comments.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
user_form_test.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00