From 9b22b49232da67bd15e04193006ce881a93265c0 Mon Sep 17 00:00:00 2001 From: Dixsie Wolmers Date: Mon, 7 Sep 2020 21:26:06 -0500 Subject: Add table search filter clear button - Adds ability to quickly clear a table input search field - Uses similar styling to password toggle icon and datepicker - Button style to be addressed in separate commit to match style guide Signed-off-by: Dixsie Wolmers Change-Id: I18f2e01c28c00c7e7b2ad1af924070241caf36a5 --- src/components/Global/Search.vue | 33 ++++++++++++++++++++-- src/components/Mixins/SearchFilterMixin.js | 17 +++++++++++ src/locales/en-US.json | 1 + src/views/Health/EventLogs/EventLogs.vue | 9 +++--- .../HardwareStatus/HardwareStatusTableDimmSlot.vue | 12 ++++---- .../HardwareStatus/HardwareStatusTableFans.vue | 12 ++++---- .../HardwareStatusTablePowerSupplies.vue | 12 ++++---- .../HardwareStatusTableProcessors.vue | 12 ++++---- src/views/Health/Sensors/Sensors.vue | 8 +++--- 9 files changed, 81 insertions(+), 35 deletions(-) create mode 100644 src/components/Mixins/SearchFilterMixin.js (limited to 'src') diff --git a/src/components/Global/Search.vue b/src/components/Global/Search.vue index 9ebf4680..eeb909a8 100644 --- a/src/components/Global/Search.vue +++ b/src/components/Global/Search.vue @@ -12,12 +12,22 @@ + > + + + + @@ -25,9 +35,11 @@