Add "clearable" badge

This commit is contained in:
Michael Shamoon
2022-10-29 15:03:27 -07:00
parent 28f7b0dc13
commit 0993fc07a3
8 changed files with 83 additions and 13 deletions

View File

@@ -106,6 +106,13 @@ export class DateDropdownComponent implements OnInit, OnDestroy {
}
}
reset() {
this.dateBefore = null
this.dateAfter = null
this.relativeDate = null
this.onChange()
}
setRelativeDate(rd: RelativeDate) {
this.dateBefore = null
this.dateAfter = null