mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
@@ -38,6 +38,9 @@ export class AlfrescoSearchControlComponent {
|
||||
@Input()
|
||||
inputType = 'text';
|
||||
|
||||
@Input()
|
||||
autocomplete: boolean = true;
|
||||
|
||||
@Input()
|
||||
expandable: boolean = true;
|
||||
|
||||
@@ -67,6 +70,10 @@ export class AlfrescoSearchControlComponent {
|
||||
return this.expandable ? ' mdl-textfield__expandable-holder' : '';
|
||||
}
|
||||
|
||||
getAutoComplete(): string {
|
||||
return this.autocomplete ? 'on' : 'off';
|
||||
}
|
||||
|
||||
/**
|
||||
* Method called on form submit, i.e. when the user has hit enter
|
||||
*
|
||||
|
Reference in New Issue
Block a user