Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Commit

Permalink
search input maxlengh set
Browse files Browse the repository at this point in the history
  • Loading branch information
talhasch committed Aug 20, 2018
1 parent 8db5269 commit fbae124
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/templates/directives/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<form class="navbar-form navbar-left">
<div class="input-group">
<span class="input-group-addon"><i class="fa fa-search"></i></span>
<input type="text" class="form-control txt-search" placeholder="Search for..." ng-model="searchStr" ng-keyup="$event.keyCode == 13 ? searchButtonClicked() : null">
<input type="text" class="form-control txt-search" placeholder="Search for..." maxlength="100" ng-model="searchStr" ng-keyup="$event.keyCode == 13 ? searchButtonClicked() : null">
<div class="input-group-btn">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown"> <span class="caret"></span> </button>
<ul class="dropdown-menu dropdown-menu-right">
Expand Down

0 comments on commit fbae124

Please sign in to comment.