-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
23bfa9f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi Sir
I go through your blog 'angular-bootstrap-show-errors' on Git.
I faced an issue in my application and the scenario is :
"Fields on form : 1 dropdown, 2 Input boxes
values in dropdown (A & B)
If we select A, input boxes are enabled.
If we select B, input boxes are disabled.
What I noticed :
Case 1: If I touched input boxes and submit the form, fields get highlighted red. Then change dropdown value to B (notice: red color of boundary get removed)
Case 2: If input boxes are untouched and submit the form, fields again get highlighted red. Then change dropdown value to B (notice: red color of boundary is still exist which needs to be removed).
What I observe, in case1 { .form-control[disabled] } class get applied whereas in case2 { .has-error } not get changed.
Can you please suggest any solution for this???