[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:
@@ -30,7 +30,7 @@
|
||||
{
|
||||
"key": "search",
|
||||
"templateUrl": "templates/search.html",
|
||||
"uses": [ "controls", "forms" ]
|
||||
"uses": [ "control" ]
|
||||
}
|
||||
],
|
||||
"representations": [
|
||||
|
||||
@@ -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' -->
|
||||
|
||||
Reference in New Issue
Block a user