enterprise
enterprise copied to clipboard
Validation/Textarea: Validation breaks when disabling and enabling a Textarea
Describe the bug In a textarea, if you trigger a validation error (e.g. by leaving a required field empty) and then disabling and enabling it again, the validation breaks and the error doesn't disappear even when the field is valid.
To Reproduce Steps to reproduce the behavior:
- Go to https://stackblitz.com/edit/ids-quick-start-1411-6q3is3?file=src/app/app.component.html
- Focus the textarea and then click anywhere outside it to remove the focus. The validation error should now should up.
- Click the "Toggle" button and confirm the textarea is disabled.
- Click the "Toggle" button again to enable the textarea.
- Start typing in the textarea and notice that the validation error doesn't disappear.
Expected behavior The validation error should disappear.
Version
- ids-enterprise-ng: 14.1.1
- ids-enterprise: 4.65.1
Screenshots