[Search] mct-control textfield breaks focus

Set up bundle.json so that the search bar could
be a mct-control, but left the control itself
commented out because then CSS styling would not
work due to lack of access to parent elements.
This commit is contained in:
slhale
2015-08-17 11:47:35 -07:00
parent 6d660d48ca
commit e159b7a15d
4 changed files with 56 additions and 43 deletions

View File

@@ -30,7 +30,7 @@
{
"key": "search",
"templateUrl": "templates/search.html",
"uses": [ "controls", "forms" ]
"uses": [ "control" ]
}
],
"representations": [

View File

@@ -31,6 +31,11 @@
type="text"
ng-model="ngModel.input"
ng-keyup="controller.search()" />
<!--mct-control key="'textfield'"
class="search-input"
ng-model="ngModel.input"
ng-keyup="controller.search()">
</mct-control-->
<!-- Search icon -->
<!-- ui symbols for search are 'd' and 'M' -->