Closed az-eduard-rusanovschi closed 3 years ago
Thanks for the bug report. This seems to be a change detection issue, we will look into this.
Hi @az-eduard-rusanovschi thank you again for reporting the problem, sorry it took longer than expected for us to start fixing it. The issue is now fixed and will be deployed with the next release.
In the selectable card with the custom function validation the error message (nx-error) is still shown. However the red border around the control disappears. The validation function uses another component variable to check error state. Error message shoud disappear as soon as the control is valid again, which is not the case at the moment. This is a bug.
⚡ Reproduction
StackBlitz link to reproduce the issue: https://stackblitz.com/edit/angular-yopodq
Steps to reproduce:
📗 Expected Behavior
Both red border of the control and the nx-erro error message "This card is incomplete." should disappear.
📕 Actual Behavior
Only control red border disappear. Error message is still shown.
📦 Environment
As in the StackBlitz link above.