You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report
[ ] Performance issue
[X] Feature request
[ ] Documentation issue or request
[ ] Support request
[ ] Other... Please describe:
Current behavior
When using controlErrorsIgnore, it cannot be bound...and using in conjunction with controlErrorsAnchor causes a compile error. When defining tags individually, this works great, however, when using a loop to create options in a radio group, there isn't a way to add logic so that the first option has controlErrorsAnchor and the remaining options have controlErrorsIgnore.
Expected behavior
It would be nice if I could use something like [controlErrorsIgnore]="i !== 0" where i is the index of the item in the loop.
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Currently I have to define 2 inputs with an ngIf checking the index. ngIf="i === 0" for the controlErrorsAnchor directive and ngIf="i !== 0" for the controlErrorsIgnore directive
Environment
Angular version: 15.2.9
Browser:
- [ ] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [X] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: 18.14.0
- Platform: Mac
Others:
The text was updated successfully, but these errors were encountered:
I'm submitting a...
Current behavior
When using controlErrorsIgnore, it cannot be bound...and using in conjunction with controlErrorsAnchor causes a compile error. When defining tags individually, this works great, however, when using a loop to create options in a radio group, there isn't a way to add logic so that the first option has controlErrorsAnchor and the remaining options have controlErrorsIgnore.
Expected behavior
It would be nice if I could use something like [controlErrorsIgnore]="i !== 0" where i is the index of the item in the loop.
Minimal reproduction of the problem with instructions
What is the motivation / use case for changing the behavior?
Currently I have to define 2 inputs with an ngIf checking the index. ngIf="i === 0" for the controlErrorsAnchor directive and ngIf="i !== 0" for the controlErrorsIgnore directive
Environment
The text was updated successfully, but these errors were encountered: