-
-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
I'm submitting a...
[ ] Regression (a behavior that used to work and stopped working in a new release)
[X] Bug report
[ ] Performance issue
[ ] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:
Current behavior
I have defined a controlCustomClass set of styles in my provideErrorTailorConfig provider function. The styles are correctly applied to my inputs, but not to my textareas.
Expected behavior
I would expect the same styles to be applied to any HTML control, but it isn't.
Minimal reproduction of the problem with instructions
You can create a basic form that is configured to use errorTailor with an input and a textarea and just required validators for both. Errors are shown for both controllers, but the custom control class is only applied to the input.
What is the motivation / use case for changing the behavior?
I'd like to show errors consistently.
Environment
Angular version: 17.3.3
Browser:
- [X] Chrome (desktop) version 123.0.6312.122
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: v20.11.0
- Platform: MacMetadata
Metadata
Assignees
Labels
No labels