Browse Source

Merge pull request #274 from tiagofontella/master

Fix feedback icons in input-group
Phuoc Nguyen 11 years ago
parent
commit
270c4e820c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      src/js/bootstrapValidator.js

+ 4 - 0
src/js/bootstrapValidator.js

@@ -352,6 +352,10 @@
                 if ($parent.find('label').length == 0) {
                     $icon.css('top', 0);
                 }
+                // Fix icons in .form-group > .input-group
+	        if ($parent.find('.input-group-addon').length != 0) {
+	            $icon.css({'top':0, 'z-index':100});
+	        }
             }
 
             // Set live mode