Skip to content
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

controlCustomClass styles not working for textarea control #113

Open
genaro-picazo-cssc opened this issue May 17, 2024 · 0 comments
Open

Comments

@genaro-picazo-cssc
Copy link

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:  Mac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant