Component: Form Components Theme: inconsistent invalid fields hover border color #17162
Labels
Component: Theme
Issue or pull request is related to Theme
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
Various form components behave differently in regards to the displayed border style, when the fields have the
.ng-invalid.ng-dirty
CSS classes applied and when they are hovered over at the same time.Some will display the
--p-form-field-invalid-border-color
(e.g. pInputText, p-select, p-autocomplete with multiple, checkbox, radiobox} while some will display--p-form-field-hover-border-color
.Environment
Windows 10
Firefox 128.3.1esr
Reproducer
https://stackblitz.com/edit/stackblitz-starters-6nsm3jzl?file=src%2Fapp%2Fapp.component.html
Angular version
18
PrimeNG version
18
Node version (for AoT issues node --version)
No response
Browser(s)
No response
Steps to reproduce the behavior
ng-invalid
andng-dirty
CSS classesExpected behavior
You could argue for either one, displaying the invalid color or the hover color. I personally would rather keep the invalid color on hover. Either way, all the components should behave in a single consistent way.
The text was updated successfully, but these errors were encountered: