Skip to content

Commit 223a27b

Browse files
fxckandrewseguin
authored andcommitted
feat(autocomplete): extend selector to match textarea (#4945)
1 parent 638a34a commit 223a27b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib/autocomplete/autocomplete-trigger.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ export function getMdAutocompleteMissingPanelError(): Error {
6060
}
6161

6262
@Directive({
63-
selector: 'input[mdAutocomplete], input[matAutocomplete]',
63+
selector: 'input[mdAutocomplete], input[matAutocomplete],' +
64+
'textarea[mdAutocomplete], textarea[matAutocomplete]',
6465
host: {
6566
'role': 'combobox',
6667
'autocomplete': 'off',

0 commit comments

Comments
 (0)