mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-31 17:38:48 +00:00
[ADF-5176] - fixed apply when no value is given (#5841)
* [ADF-5176] - added check for when values are empty for headers * [ADF-5176] - added test for the clear check
This commit is contained in:
@@ -71,6 +71,14 @@ export class SearchTextComponent implements SearchWidget, OnInit {
|
||||
|
||||
}
|
||||
|
||||
submitValues() {
|
||||
this.updateQuery(this.value);
|
||||
}
|
||||
|
||||
hasValidValue() {
|
||||
return !!this.value;
|
||||
}
|
||||
|
||||
private getSearchPrefix(): string {
|
||||
return this.settings.searchPrefix ? this.settings.searchPrefix : '';
|
||||
}
|
||||
|
Reference in New Issue
Block a user