[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:
Vito
2020-07-07 17:07:49 +01:00
committed by GitHub
parent ed12b13c87
commit 30e980837a
11 changed files with 86 additions and 16 deletions

View File

@@ -100,6 +100,14 @@ export class SearchNumberRangeComponent implements SearchWidget, OnInit {
return result;
}
submitValues() {
this.apply(this.form.value, this.form.valid);
}
hasValidValue() {
return this.form.valid;
}
reset() {
this.isActive = false;