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
When a ngbRadioGroup (or, rather, one of its buttons) loses the focus, the underlying form control should be marked as touched. But it isn't. This is important to me because in case no option is selected, and the form control is marked as required, I want to display an error message only when the control has been touched.
I'll submit a PR to fix this.
Link to minimally-working plunker that reproduces the issue:
Bug description:
When a ngbRadioGroup (or, rather, one of its buttons) loses the focus, the underlying form control should be marked as touched. But it isn't. This is important to me because in case no option is selected, and the form control is marked as required, I want to display an error message only when the control has been touched.
I'll submit a PR to fix this.
Link to minimally-working plunker that reproduces the issue:
http://plnkr.co/edit/YNagzOqkgIBymo0amPVq?p=preview
Version of Angular, ng-bootstrap, and Bootstrap:
Angular: 4.0.3 or 5.0.x
ng-bootstrap: 1.0.0-beta.5
Bootstrap: 4.0.0-beta
The text was updated successfully, but these errors were encountered: