-
Bug
-
Resolution: Done
-
Undefined
-
None
-
False
-
-
False
-
-
Before reporting an issue
[x] I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.
Area
user-profile
Describe the bug
When I create a field in the user profile and add a length min/max validation to it, the error message doesn't show in the admin UI, the user is not saved, and an exception is shown in the console.
Version
main
Regression
[ ] The issue is a regression
Expected behavior
The validation error should be shown.
Actual behavior
No validation error is shown
How to Reproduce?
Create a new field and add a length validation to it
<img width="1047" height="274" alt="Image" src="https://github.com/user-attachments/assets/daa11ca7-0fcc-42b3-8c18-d616293757af" />
<img width="750" height="241" alt="Image" src="https://github.com/user-attachments/assets/71cc86c5-40d8-447d-83df-de54e288358a" />
Anything else?
The problem is that the length validation error adds integer parameters, while front end only expects strings.
I'll provide a fix.
- links to