This repository was archived by the owner on Sep 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/components/autocomplete/js Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,7 @@ angular
52
52
* @param {boolean= } md-autofocus If true, the autocomplete will be automatically focused when a `$mdDialog`,
53
53
* `$mdBottomsheet` or `$mdSidenav`, which contains the autocomplete, is opening. <br/><br/>
54
54
* Also the autocomplete will immediately focus the input element.
55
+ * @param {boolean= } md-no-asterisk When present, asterisk will not be appended to the floating label
55
56
* @param {boolean= } md-autoselect If true, the first item will be selected by default
56
57
* @param {string= } md-menu-class This will be applied to the dropdown menu for styling
57
58
* @param {string= } md-floating-label This will add a floating label to autocomplete and wrap it in
@@ -244,6 +245,7 @@ function MdAutocomplete () {
244
245
ng-model="$mdAutocompleteCtrl.scope.searchText"\
245
246
ng-keydown="$mdAutocompleteCtrl.keydown($event)"\
246
247
ng-blur="$mdAutocompleteCtrl.blur()"\
248
+ ' + ( attr . mdNoAsterisk != null ? 'md-no-asterisk="' + attr . mdNoAsterisk + '"' : '' ) + '\
247
249
ng-focus="$mdAutocompleteCtrl.focus()"\
248
250
aria-owns="ul-{{$mdAutocompleteCtrl.id}}"\
249
251
' + ( attr . mdSelectOnFocus != null ? 'md-select-on-focus=""' : '' ) + '\
You can’t perform that action at this time.
0 commit comments