We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 197a892 + 500673c commit 2e7993bCopy full SHA for 2e7993b
docs/components.html
@@ -642,6 +642,20 @@ <h3>Input</h3>
642
</div>
643
</pre>
644
645
+
646
+ <p class="ptl mtl">
647
+ You'll need to add some Javascript code in order to append icons (on left position) like search icon above
648
+ </p>
649
650
+<pre class="prettyprint">
651
+// Focus state for append/prepend inputs
652
+$('.input-group').on('focus', '.form-control', function () {
653
+ $(this).closest('.input-group, .form-group').addClass('focus');
654
+}).on('blur', '.form-control', function () {
655
+ $(this).closest('.input-group, .form-group').removeClass('focus');
656
+});
657
+</pre>
658
659
<div id="fui-navbar"></div>
660
</div> <!-- /.demo-content -->
661
</div> <!-- /.demo-row -->
0 commit comments