@@ -65,6 +65,8 @@ angular
65
65
* @param {number= } md-input-maxlength The maximum length for the input's value for validation
66
66
* @param {boolean= } md-select-on-match When set, autocomplete will automatically select exact
67
67
* the item if the search text is an exact match
68
+ * @param {boolean= } md-match-case-insensitive When set and using `md-select-on-match`, autocomplete
69
+ * will select on case-insensitive match
68
70
*
69
71
* @usage
70
72
* ### Basic Example
@@ -127,25 +129,26 @@ function MdAutocomplete () {
127
129
controller : 'MdAutocompleteCtrl' ,
128
130
controllerAs : '$mdAutocompleteCtrl' ,
129
131
scope : {
130
- inputName : '@mdInputName' ,
131
- inputMinlength : '@mdInputMinlength' ,
132
- inputMaxlength : '@mdInputMaxlength' ,
133
- searchText : '=?mdSearchText' ,
134
- selectedItem : '=?mdSelectedItem' ,
135
- itemsExpr : '@mdItems' ,
136
- itemText : '&mdItemText' ,
137
- placeholder : '@placeholder' ,
138
- noCache : '=?mdNoCache' ,
139
- selectOnMatch : '=?mdSelectOnMatch' ,
140
- itemChange : '&?mdSelectedItemChange' ,
141
- textChange : '&?mdSearchTextChange' ,
142
- minLength : '=?mdMinLength' ,
143
- delay : '=?mdDelay' ,
144
- autofocus : '=?mdAutofocus' ,
145
- floatingLabel : '@?mdFloatingLabel' ,
146
- autoselect : '=?mdAutoselect' ,
147
- menuClass : '@?mdMenuClass' ,
148
- inputId : '@?mdInputId'
132
+ inputName : '@mdInputName' ,
133
+ inputMinlength : '@mdInputMinlength' ,
134
+ inputMaxlength : '@mdInputMaxlength' ,
135
+ searchText : '=?mdSearchText' ,
136
+ selectedItem : '=?mdSelectedItem' ,
137
+ itemsExpr : '@mdItems' ,
138
+ itemText : '&mdItemText' ,
139
+ placeholder : '@placeholder' ,
140
+ noCache : '=?mdNoCache' ,
141
+ selectOnMatch : '=?mdSelectOnMatch' ,
142
+ matchInsensitive : '=?mdMatchCaseInsensitive' ,
143
+ itemChange : '&?mdSelectedItemChange' ,
144
+ textChange : '&?mdSearchTextChange' ,
145
+ minLength : '=?mdMinLength' ,
146
+ delay : '=?mdDelay' ,
147
+ autofocus : '=?mdAutofocus' ,
148
+ floatingLabel : '@?mdFloatingLabel' ,
149
+ autoselect : '=?mdAutoselect' ,
150
+ menuClass : '@?mdMenuClass' ,
151
+ inputId : '@?mdInputId'
149
152
} ,
150
153
link : function ( scope , element , attrs , controller ) {
151
154
// Retrieve the state of using a md-not-found template by using our attribute, which will
0 commit comments