-
Notifications
You must be signed in to change notification settings - Fork 33
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
bug(Field.PostalCodeAndCity): postalcode field doesn't display a red error border when error #2968
Comments
This has since been solved for some of the Field.Date and Field.String (https://github.com/dnbexperience/eufemia/pull/3081/files#diff-82c0dcb982ee31d1da123e9178b9a9b8a595e5278293b79374ebba6e3a35cbdb). But we will have to do so for all the Field types if we want to solve this issue for good. And
|
I think I'll go for "Send in an |
It works, but technically the |
🐛 Bug Report
PostalCodeAndCity
's postalcode field doesn't display a red error border when errorTo Reproduce
Steps to reproduce the behavior:
https://codesandbox.io/p/sandbox/empty-firefly-7ppx4n?file=%2Fsrc%2FApp.tsx
Type in
"1"
in the postal code field, and tab to the next field.You'll be presented with an error message, but no red/error border around the postal code field, to indicate which field that causes the error. Looking like:
Expected behavior
Reason for expecting a red/error border around the field that has the error is because all/most other
<Field.X />
-components behaves this way, having an error/red border, like:The text was updated successfully, but these errors were encountered: